prickett 02/03/17 10:09:44
Modified: periodicity build.xml
Log:
Added code to get the jar files that torque depends on from the
jakarta.apache.org website.
Submitted by: Jeff Pricket
Revision Changes Path
1.7 +29 -3 jakarta-commons-sandbox/periodicity/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.xml 17 Mar 2002 14:54:53 -0000 1.6
+++ build.xml 17 Mar 2002 18:09:44 -0000 1.7
@@ -17,6 +17,21 @@
<property file="${build.properties}"/>
<property file="./conf/torque/build.om.properties"/>
<property file="./conf/torque/build.mysql.properties"/>
+ <property file="./conf/torque/build.jars.properties"/>
+
+ <path id="classpath">
+ <pathelement location="${xerces.jar}"/>
+ <pathelement location="${xmlParserAPIs.jar}"/>
+ <pathelement location="${velocity.jar}"/>
+ <pathelement location="${village.jar}"/>
+ <pathelement location="${jdbc.jar}"/>
+ <pathelement location="${log4j.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
+ <pathelement location="${commons-lang.jar}"/>
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${stratum.jar}"/>
+ <pathelement location="${tdk.jar}"/>
+ </path>
<target name="mv_src">
<mkdir dir="${build.dir}"/>
@@ -76,12 +91,10 @@
</test>
</junit>
</target>
-
-
<target name="core" depends="generate_peers">
<javac srcdir="${build.dir}" destdir="${build.dest}" debug="${debug}"
- classpath="./lib/xerces.jar:${jaas.jar.path}:${j2ee.jar.path}"/>
+ classpath="./lib/xerces.jar:${torque.home}/"/>
</target>
<target name="clean">
@@ -90,5 +103,18 @@
<target name="javadoc">
<javadoc sourcepath="${src.java.dir}" destdir="docs/api"
packagenames="org.apache.commons/periodicity.*"/>
+ </target>
+
+ <target name="update-jars">
+ <taskdef
+ name="httpget"
+ className="org.apache.tdk.task.Get">
+ <classpath refid="classpath"/>
+ </taskdef>
+ <httpget
+ baseUrl="http://jakarta.apache.org/turbine/jars/"
+ dest="${lib.repo}"
+ dependencyFile="conf/torque/deps.list"
+ />
</target>
</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>