[Japi-cvs] SF.net SVN: japi: [408] common/trunk/commonBuild.xml
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2007-06-14 20:04:15
|
Revision: 408 http://svn.sourceforge.net/japi/?rev=408&view=rev Author: christianhujer Date: 2007-06-14 13:04:11 -0700 (Thu, 14 Jun 2007) Log Message: ----------- Improved classpath handling. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-13 21:11:47 UTC (rev 407) +++ common/trunk/commonBuild.xml 2007-06-14 20:04:11 UTC (rev 408) @@ -12,6 +12,11 @@ <property name="distPath" value="dist/${distName}" /> <property name="commonPath" value="common" /> +<path id="class.path"> + <fileset dir="." includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> + <fileset dir="${commonPath}" includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> +</path> + <taskdef name="pack200" classpath="${commonPath}/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> <taskdef name="freshmeat" classpath="${commonPath}/antlib/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> @@ -36,10 +41,7 @@ target="${javaversion}" debug="yes" > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - <fileset dir="${commonPath}/lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> + <classpath refid="class.path" /> <exclude name="test/**/*.java" /> </javac> <copy @@ -153,10 +155,7 @@ <!-- overview = "src/overview.html" --> - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - <fileset dir="${commonPath}/lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> + <classpath refid="class.path" /> <sourcepath> <pathelement path="${user.javadoc.javasrc}" /> <pathelement path="src" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |