1 <project name="TrakEM2" default="warn-user" basedir=".">
3 <target name="warn-user">
5 This build script is set up to work with TrakEM2 as a
6 submodule of the Fiji, and only on the debian branch. In
7 other words, you probably want to use "make" instead :)
13 <delete file="TrakEM2_.jar"/>
16 <target name="compile">
19 <!-- Remove any files that need to be regenerated: -->
24 <include name="**/*.java"/>
25 <excludesfile name="excludes"/>
27 <pathelement location="../ImageJA/ij.jar"/>
28 <pathelement location="../VIB/VIB_.jar"/>
29 <pathelement location="/usr/share/java/jama.jar"/>
30 <pathelement location="/usr/share/java/postgresql-jdbc3-8.2.jar"/>
31 <pathelement location="../jtk/build/jar/edu_mines_jtk.jar"/>
35 <!-- Compile all the Java files in src/ -->
36 <javac srcdir="." destdir="build">
37 <include name="**/*.java"/>
38 <excludesfile name="excludes"/>
40 <pathelement location="../ImageJA/ij.jar"/>
41 <pathelement location="../VIB/VIB_.jar"/>
42 <pathelement location="/usr/share/java/jama.jar"/>
43 <pathelement location="/usr/share/java/postgresql-jdbc3-8.2.jar"/>
44 <pathelement location="../jtk/build/jar/edu_mines_jtk.jar"/>
48 <jar destfile="TrakEM2_.jar" basedir="build"/>