Changeset 521 for trunk/org.bridgedb.tools.batchmapper/build.xml
- Timestamp:
- 06/22/11 13:26:25 (11 months ago)
- Files:
-
- 1 modified
-
trunk/org.bridgedb.tools.batchmapper/build.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.bridgedb.tools.batchmapper/build.xml
r334 r521 4 4 <property name="jar.file" value="../dist/org.bridgedb.tools.batchmapper.jar"/> 5 5 6 <path id="project.class.path"> 7 <pathelement location="build"/> 8 <pathelement location="../dist/org.bridgedb.jar"/> 9 <pathelement location="../dist/org.bridgedb.bio.jar"/> 10 <!--TODO make sure corelib build is called first --> 6 <!-- absolute deps are used for building, testing and in the manifest classpath --> 7 <path id="absolute.deps"> 8 <fileset dir="../dist"> 9 <include name="org.bridgedb.jar"/> 10 <include name="org.bridgedb.bio.jar"/> 11 </fileset> 11 12 </path> 12 13 13 <target name="prepare"> 14 <mkdir dir="../dist"/> 15 <mkdir dir="build"/> 16 </target> 17 18 <target name="clean" description="Remove all generated files."> 19 <delete dir="build"/> 20 </target> 21 22 <target name="compile" depends="prepare" description="Compile all sources"> 23 <javac srcdir="src" 24 debug="true" 25 destdir="build"> 26 <classpath refid="project.class.path"/> 27 </javac> 28 </target> 14 <!-- transient deps are optional, they are used only in the manifest classpath --> 15 <path id="transient.deps"> 16 </path> 29 17 30 <target name="test" depends="compile" description="Test batchmapper"> 31 <!-- TODO --> 32 </target> 18 <!-- test deps are only used for testing --> 19 <path id="test.deps"> 20 <!-- nothing yet... --> 21 </path> 33 22 34 <target name="jar" depends=" compile">23 <target name="jar" depends="build"> 35 24 <jar jarfile="${jar.file}"> 36 25 <manifest> … … 41 30 </jar> 42 31 </target> 43 44 <target name="dist-clean" depends="clean" description="Remove all generated files."> 45 <delete file="${jar.file}"/> 46 </target> 47 48 <target name="dist" depends="jar"/> 32 33 <import file="../build-common.xml" /> 34 49 35 </project>
