Cheng Tang | 697ce24 | 2014-04-27 16:18:17 +0800 | [diff] [blame^] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | contributor license agreements. See the NOTICE file distributed with |
| 5 | this work for additional information regarding copyright ownership. |
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 | (the "License"); you may not use this file except in compliance with |
| 8 | the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
| 18 | <!-- |
| 19 | XML file for importing Catalina ant tasks. |
| 20 | <import file="${catalina.home}/bin/catalina-tasks.xml"/> |
| 21 | --> |
| 22 | |
| 23 | <project name="catalina-tasks"> |
| 24 | <description>Catalina Ant Manager, JMX and JSPC Tasks</description> |
| 25 | <!-- set catalina.home if it's not already set --> |
| 26 | <dirname property="catalina.home.bin.dir" file="${ant.file.catalina-tasks}"/> |
| 27 | <property name="catalina.home" value="${catalina.home.bin.dir}/.."/> |
| 28 | <typedef resource="org/apache/catalina/ant/catalina.tasks"> |
| 29 | <classpath> |
| 30 | <fileset file="${catalina.home}/bin/tomcat-juli.jar"/> |
| 31 | <fileset file="${catalina.home}/lib/tomcat-api.jar"/> |
| 32 | <fileset file="${catalina.home}/lib/tomcat-util.jar"/> |
| 33 | <fileset file="${catalina.home}/lib/jasper.jar"/> |
| 34 | <fileset file="${catalina.home}/lib/jasper-el.jar"/> |
| 35 | <fileset file="${catalina.home}/lib/el-api.jar"/> |
| 36 | <fileset file="${catalina.home}/lib/jsp-api.jar"/> |
| 37 | <fileset file="${catalina.home}/lib/servlet-api.jar"/> |
| 38 | <fileset file="${catalina.home}/lib/catalina-ant.jar"/> |
| 39 | <fileset file="${catalina.home}/lib/tomcat-coyote.jar"/> |
| 40 | </classpath> |
| 41 | </typedef> |
| 42 | <typedef resource="org/apache/catalina/ant/jmx/jmxaccessor.tasks"> |
| 43 | <classpath> |
| 44 | <fileset file="${catalina.home}/lib/catalina-ant.jar"/> |
| 45 | </classpath> |
| 46 | </typedef> |
| 47 | </project> |