Guest User

Untitled

a guest
Jan 4th, 2013
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. -Dj2ee.server.home=<app_server_installation_directory>
  2.  
  3. <target name="-post-clean">
  4. <deltree dir="download" />
  5. <deltree dir="temp" />
  6. </target>
  7.  
  8. <!--<target name="-pre-init" depends="check-dependencies" if="tomcat.present">-->
  9. <target name="-pre-init">
  10. <property name="custom-tomcat-version" value="apache-tomcat-7.0.33" />
  11.  
  12. <mkdir dir="temp"/>
  13. <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"/>
  14.  
  15. <unzip dest="download/image" src="temp/${custom-tomcat-version}.zip">
  16. <patternset>
  17. <include name="apache-tomcat-7.*/lib/*"/>
  18. </patternset>
  19. <mapper>
  20. <globmapper from="apache-tomcat-7.*/lib/*" to="*"/>
  21. </mapper>
  22. </unzip>
  23.  
  24. <!-- NB Ant script requieres this propertie to be assigned -->
  25. <property name="j2ee.server.home" value="download/image/${custom-tomcat-version}"/>
  26. </target>
Add Comment
Please, Sign In to add comment