Added the maximal accepted factor to mean PointMatch displacement
[trakem2.git] / build.xml
blobe0706229482a9d3879fa4df0c14f06c76e519604
1 <project name="TrakEM2" default="warn-user" basedir=".">
2   
3   <target name="warn-user">
4     <echo>
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 :)
8     </echo>
9   </target>
10     
11   <target name="clean">
12     <delete dir="build"/>
13     <delete file="TrakEM2_.jar"/>
14   </target>
16   <target name="compile">
17     <mkdir dir="build"/>
19     <!-- Remove any files that need to be regenerated: -->
20     <depend srcdir="."
21             destdir="build"
22             cache="depcache"
23             closure="yes">
24       <include name="**/*.java"/>
25       <excludesfile name="excludes"/>
26       <classpath>
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"/>
32       </classpath>
33     </depend>
35     <!-- Compile all the Java files in src/ -->
36     <javac srcdir="." destdir="build">
37       <include name="**/*.java"/>
38       <excludesfile name="excludes"/>
39       <classpath>
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"/>
45       </classpath>
46     </javac>
48     <jar destfile="TrakEM2_.jar" basedir="build"/>
50   </target>  
52 </project>