ant-deploy.xml revision 73100f4d1c412f00eb2568969d935cf3182b0d77
<?xml version="1.0" encoding="UTF-8"?>
<project default="-deploy-ant" basedir=".">
<property file="${deploy.ant.properties.file}"/>
<patternset includes="META-INF/context.xml"/>
</unwar>
<xmlproperty file="${temp.module.folder}/META-INF/context.xml"/>
<delete dir="${temp.module.folder}"/>
</target>
<fail message="Tomcat password has to be passed as tomcat.password property.">
<condition>
<not>
<isset property="tomcat.password"/>
</not>
</condition>
</fail>
</target>
<echo message="Deploying ${deploy.ant.archive} to ${Context(path)}"/>
classpath="${tomcat.home}/lib/catalina-ant.jar"/>
password="${tomcat.password}" path="${Context(path)}"
war="${deploy.ant.archive}"/>
</target>
<echo message="Undeploying ${Context(path)}"/>
classpath="${tomcat.home}/lib/catalina-ant.jar"/>
password="${tomcat.password}" path="${Context(path)}"/>
</target>
</project>