Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -Dj2ee.server.home=<app_server_installation_directory>
- <target name="-post-clean">
- <deltree dir="download" />
- <deltree dir="temp" />
- </target>
- <!--<target name="-pre-init" depends="check-dependencies" if="tomcat.present">-->
- <target name="-pre-init">
- <property name="custom-tomcat-version" value="apache-tomcat-7.0.33" />
- <mkdir dir="temp"/>
- <get src="http://apache.rediris.es/tomcat/tomcat-7/v7.0.33/bin/apache-tomcat-7.0.33.zip" dest="temp/${custom-tomcat-version}.zip"/>
- <unzip dest="download/image" src="temp/${custom-tomcat-version}.zip">
- <patternset>
- <include name="apache-tomcat-7.*/lib/*"/>
- </patternset>
- <mapper>
- <globmapper from="apache-tomcat-7.*/lib/*" to="*"/>
- </mapper>
- </unzip>
- <!-- NB Ant script requieres this propertie to be assigned -->
- <property name="j2ee.server.home" value="download/image/${custom-tomcat-version}"/>
- </target>
Add Comment
Please, Sign In to add comment