jvanzyl 02/02/08 13:55:13 Modified: . build.xml Log: - getting the TDK to work with the update-jars target Revision Changes Path 1.31 +36 -2 jakarta-turbine-tdk/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-turbine-tdk/build.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- build.xml 30 Dec 2001 15:16:22 -0000 1.30 +++ build.xml 8 Feb 2002 21:55:13 -0000 1.31 @@ -7,7 +7,41 @@ <property file="build.properties" /> <property file="default.properties" /> <property file="${tdk.profileDirectory}/${tdk.defaultProfile}"/> - + + <!-- ================================================================== --> + <!-- U P D A T E J A R S --> + <!-- ================================================================== --> + + <!-- Build classpath --> + <path id="update.classpath"> + <pathelement location="tdk.jar"/> + </path> + + <target + name="update-jars"> + + <taskdef + name="httpget" + className="org.apache.tdk.task.Get"> + <classpath refid="update.classpath"/> + </taskdef> + + <!-- 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. + --> + + <httpget + baseUrl="http://jakarta.apache.org/turbine/jars/" + dest="${lib.repo}" + dependencyFile="deps.list" + /> + + </target> + <!-- ================================================================== --> <!-- E N V I R O N M E N T --> <!-- ================================================================== --> @@ -195,7 +229,7 @@ <pathelement location="${bcel.jar}"/> <pathelement location="${commons-util.jar}"/> <pathelement location="${commons-collections.jar}"/> - <pathelement location="${digester.jar}"/> + <pathelement location="${commons-digester.jar}"/> <pathelement location="${oro.jar}"/> <pathelement location="${velocity.jar}"/> </path>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>