[66] | 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 | <taskdef resource="org/apache/catalina/ant/catalina.tasks"> |
---|
| 29 | <classpath> |
---|
| 30 | <fileset file="${catalina.home}/bin/tomcat-juli.jar"/> |
---|
| 31 | <fileset file="${catalina.home}/lib/jasper.jar"/> |
---|
| 32 | <fileset file="${catalina.home}/lib/jasper-el.jar"/> |
---|
| 33 | <fileset file="${catalina.home}/lib/el-api.jar"/> |
---|
| 34 | <fileset file="${catalina.home}/lib/jsp-api.jar"/> |
---|
| 35 | <fileset file="${catalina.home}/lib/servlet-api.jar"/> |
---|
| 36 | <fileset file="${catalina.home}/lib/catalina-ant.jar"/> |
---|
| 37 | </classpath> |
---|
| 38 | </taskdef> |
---|
| 39 | <taskdef resource="org/apache/catalina/ant/jmx/jmxaccessor.tasks"> |
---|
| 40 | <classpath> |
---|
| 41 | <fileset file="${catalina.home}/lib/catalina-ant.jar"/> |
---|
| 42 | </classpath> |
---|
| 43 | </taskdef> |
---|
| 44 | <typedef |
---|
| 45 | name="jmxEquals" |
---|
| 46 | classname="org.apache.catalina.ant.jmx.JMXAccessorEqualsCondition"> |
---|
| 47 | <classpath> |
---|
| 48 | <fileset file="${catalina.home}/lib/catalina-ant.jar"/> |
---|
| 49 | </classpath> |
---|
| 50 | </typedef> |
---|
| 51 | <typedef |
---|
| 52 | name="jmxCondition" |
---|
| 53 | classname="org.apache.catalina.ant.jmx.JMXAccessorCondition"> |
---|
| 54 | <classpath> |
---|
| 55 | <fileset file="${catalina.home}/lib/catalina-ant.jar"/> |
---|
| 56 | </classpath> |
---|
| 57 | </typedef> |
---|
| 58 | </project> |
---|