[Commits] (bcm) rather than relying on the developer to independently download tomcat, we can

commits at osafoundation.org commits at osafoundation.org
Tue Apr 26 13:28:25 PDT 2005


Commit by: bcm
Modified files:
server/build.properties 1.1 1.2
server/build.xml 1.41 1.42

Log message:
rather than relying on the developer to independently download tomcat, we can
do that ourselves.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/server/build.properties.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/server/build.xml.diff?r1=text&tr1=1.41&r2=text&tr2=1.42

Index: server/build.properties
diff -u server/build.properties:1.1 server/build.properties:1.2
--- server/build.properties:1.1	Tue Apr 26 13:09:37 2005
+++ server/build.properties	Tue Apr 26 13:28:24 2005
@@ -46,7 +46,7 @@
 #
 
 ext.tomcat.package=jakarta-tomcat-5.0.28
-ext.tomcat.tarball=${cosmo.ext}/${ext.tomcat.package}.tar.gz
+ext.tomcat.url=http://www.ibiblio.org/pub/mirrors/apache/jakarta/tomcat-5/v5.0.28/bin/${ext.tomcat.package}.tar.gz
 
 maven.repository=${user.home}/.maven/repository
 m2.repository=${user.home}/.m2/repository

Index: server/build.xml
diff -u server/build.xml:1.41 server/build.xml:1.42
--- server/build.xml:1.41	Tue Apr 26 13:09:37 2005
+++ server/build.xml	Tue Apr 26 13:28:24 2005
@@ -361,8 +361,11 @@
 
   <target name="unpack-tomcat" unless="tomcat.unpacked"
           description="unpack the Tomcat tarball">
-    <untar src="${ext.tomcat.tarball}" dest="${cosmo.tmp}"
-           compression="gzip"/>
+    <get src="${ext.tomcat.url}"
+         dest="${cosmo.tmp}/${ext.tomcat.package}.tar.gz"
+         usetimestamp="true"/>
+    <untar src="${cosmo.tmp}/${ext.tomcat.package}.tar.gz"
+           dest="${cosmo.tmp}" compression="gzip"/>
   </target>
 
   <target name="dist-tomcat"



More information about the Commits mailing list