Changeset 308 for trunk/org.bridgedb.rdb/build.xml
- Timestamp:
- 02/23/10 15:28:52 (2 years ago)
- Location:
- trunk/org.bridgedb.rdb
- Files:
-
- 1 added
- 1 copied
-
. (added)
-
build.xml (copied) (copied from trunk/picr/build.xml) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.bridgedb.rdb/build.xml
r221 r308 1 1 <?xml version="1.0"?> 2 <project name=" BridgeDb-Picr" default="dist" basedir=".">2 <project name="org.bridgedb.rdb" default="dist" basedir="."> 3 3 4 4 <!-- always be java 1.5 compatible --> … … 6 6 <property name="ant.build.javac.source" value="1.5"/> 7 7 8 <property name="jar.name" value="../dist/ bridgedb-picr.jar"/>8 <property name="jar.name" value="../dist/org.bridgedb.rdb.jar"/> 9 9 10 10 <target name="prepare"> … … 13 13 14 14 <path id="class.path"> 15 <fileset dir="lib">16 <include name="*.jar"/>17 </fileset>18 15 <fileset dir="../dist"> 19 <include name=" bridgedb.jar"/>20 <include name=" bridgedb-bio.jar"/>16 <include name="org.bridgedb.jar"/> 17 <include name="org.bridgedb.bio.jar"/> 21 18 </fileset> 22 19 </path> … … 32 29 33 30 <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>38 31 <jar jarfile="${jar.name}"> 39 32 <manifest> 40 <attribute name="Class-Path" value=" ${manifest.cp}"/>33 <attribute name="Class-Path" value="derby.jar"/> 41 34 </manifest> 42 <fileset dir="build" />35 <fileset dir="build" includes="**/*.class"/> 43 36 <fileset dir="src" includes="**/*.properties"/> 44 37 </jar> 45 <copy toDir="../dist"><path refid="class.path"/></copy> 38 <copy file="lib/derby.jar" 39 todir="../dist" /> 40 </target> 41 42 <target name="clean"> 43 <delete dir="build"/> 44 <delete dir="doc"/> 45 </target> 46 47 <target name="dist-clean" depends="clean"> 48 <delete file="${jar.name}"/> 46 49 </target> 47 50 48 51 <target name="dist" depends="jar"/> 49 52 50 <target name="clean"> 51 <delete dir="build"/> 52 </target> 53 54 <target name="dist-clean" depends="clean"> 55 <delete file="${jar.name}"/> 56 57 </target> 53 <taskdef resource="checkstyletask.properties" 54 classpath="build-lib/checkstyle-all-5.0-beta01.jar"/> 55 58 56 <target name="test" depends="build"> 59 57 <path id="test.classpath"> 60 58 <path refid="class.path"/> 61 59 <pathelement location="build"/> 62 <pathelement location="../corelib/build-lib/junit.jar"/> 60 <pathelement location="lib/derby.jar"/> 61 <pathelement location="../org.bridgedb/build-lib/junit.jar"/> 62 <pathelement location="../org.bridgedb/build-lib/measure.jar"/> 63 <pathelement location="build-lib/derbyclient.jar"/> 63 64 </path> 64 65 <javac srcdir="test" debug="true"
