Changeset 165
- Timestamp:
- 08/19/09 13:55:13 (2 years ago)
- Files:
-
- 1 modified
-
trunk/picr/build.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/picr/build.xml
r152 r165 12 12 </target> 13 13 14 <path id="class.path"> 15 <fileset dir="lib"> 16 <include name="*.jar"/> 17 </fileset> 18 <fileset dir="../dist"> 19 <include name="bridgedb.jar"/> 20 <include name="bridgedb-bio.jar"/> 21 </fileset> 22 </path> 23 14 24 <target name="build" depends="prepare"> 15 25 <javac srcdir="src" … … 17 27 debug="true" 18 28 destdir="build"> 19 <classpath> 20 <pathelement location="../dist/bridgedb.jar"/> 21 <pathelement location="../dist/bridgedb-bio.jar"/> 22 </classpath> 29 <classpath refid="class.path"/> 23 30 </javac> 24 31 </target> 25 32 26 33 <target name="jar" depends="build"> 34 <manifestclasspath property="manifest.cp" jarfile="${jar.name}"> 35 <classpath refid="class.path" /> 36 </manifestclasspath> 37 <echo>${manifest.cp}</echo> 27 38 <jar jarfile="${jar.name}"> 28 39 <manifest> 29 <attribute name="Class-Path" value=" bridgedb-bio.jar bridgedb.jar"/>40 <attribute name="Class-Path" value="${manifest.cp}"/> 30 41 </manifest> 31 42 <fileset dir="build"/> 32 43 <fileset dir="src" includes="**/*.properties"/> 33 44 </jar> 45 <copy toDir="../dist"><path refid="class.path"/></copy> 34 46 </target> 35 47
