Use JAVA_LIBS now instead of old hardcoded business.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1039 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2003-01-28 22:40:59 +00:00
parent bc72a70c9f
commit ed08d46f3f
+14 -3
View File
@@ -15,12 +15,23 @@
<property name="dist.jar" value="${app.name}.jar"/>
<property name="javadoc.dir" value="${deploy.dir}/docs"/>
<!-- declare our classpath -->
<path id="classpath">
<!-- declare our classpath business -->
<path id="base.classpath">
<pathelement location="${deploy.dir}/classes"/>
<fileset dir="lib" includes="**/*.jar"/>
<fileset dir="${java.libraries}" includes="**/*.jar"/>
</path>
<path id="classpath">
<path refid="base.classpath"/>
</path>
<!-- include JAVA_LIBS jars in our classpath if it exists -->
<target name="check-java-libs" if="env.JAVA_LIBS">
<!-- overwrite the classpath with one that contains JAVA_LIBS jars -->
<path id="classpath">
<path refid="base.classpath"/>
<fileset dir="${env.JAVA_LIBS}" includes="**/*.jar"/>
</path>
</target>
<!-- prepares the application directories -->
<target name="prepare">