jvanzyl 02/02/18 14:05:42
Modified: . Tag: rundata_security_changes build.xml
Log:
- incorporating fedor's changes into the build.xml file.
Revision Changes Path
No revision
No revision
1.20.2.22 +28 -16 jakarta-turbine-3/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-3/build.xml,v
retrieving revision 1.20.2.21
retrieving revision 1.20.2.22
diff -u -r1.20.2.21 -r1.20.2.22
--- build.xml 18 Feb 2002 05:07:40 -0000 1.20.2.21
+++ build.xml 18 Feb 2002 22:05:42 -0000 1.20.2.22
@@ -62,29 +62,41 @@
<!-- ================================================================== -->
<target
- name="update-jars"
- description="o Update JARs required for building">
+ name="update-jars"
+ description="o Update JARs required for building"
+ depends="update-jars-proxy,update-jars-noproxy">
+ </target>
- <taskdef
- name="update-resources"
- className="org.apache.maven.update.Get">
+ <target
+ name="prepare.httpget">
+
+ <taskdef
+ name="httpget"
+ className="org.apache.tdk.task.Get">
</taskdef>
+ </target>
- <!-- If you need proxy support you'll have to manually add:
-
- proxyHost="x"
- proxyPort="y"
-
- We'll clean this up but it worked for a user behind a proxy.
- -->
-
- <update-resources
+ <target
+ name="update-jars-noproxy"
+ unless="proxy.host"
+ depends="prepare.httpget">
+
+ <httpget
baseUrl="http://jakarta.apache.org/turbine/jars/"
dest="${lib.repo}"
- dependencyFile="${deps}"
+ dependencyFile="deps.list"
/>
+ </target>
- </target>
+ <target name="update-jars-proxy" if="proxy.host" depends="prepare.httpget">
+ <httpget
+ baseUrl="http://jakarta.apache.org/turbine/jars/"
+ dest="${lib.repo}"
+ dependencyFile="deps.list"
+ proxyHost="${proxy.host}"
+ proxyPort="${proxy.port}"
+ />
+ </target>
<!-- ================================================================== -->
<!-- E N V I R O N M E N T -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>