summaryrefslogtreecommitdiff
path: root/gi/posterior-regularisation/prjava/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gi/posterior-regularisation/prjava/build.xml')
-rw-r--r--gi/posterior-regularisation/prjava/build.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/gi/posterior-regularisation/prjava/build.xml b/gi/posterior-regularisation/prjava/build.xml
new file mode 100644
index 00000000..c9ed2e8d
--- /dev/null
+++ b/gi/posterior-regularisation/prjava/build.xml
@@ -0,0 +1,38 @@
+<project name="prjava" default="dist" basedir=".">
+ <!-- set global properties for this build -->
+ <property name="src" location="src"/>
+ <property name="build" location="build"/>
+ <property name="dist" location="lib"/>
+ <path id="classpath">
+ <pathelement location="lib/trove-2.0.2.jar"/>
+ <pathelement location="lib/optimization.jar"/>
+ </path>
+
+ <target name="init">
+ <!-- Create the time stamp -->
+ <tstamp/>
+ <!-- Create the build directory structure used by compile -->
+ <mkdir dir="${build}"/>
+ </target>
+
+ <target name="compile" depends="init"
+ description="compile the source " >
+ <!-- Compile the java code from ${src} into ${build} -->
+ <javac srcdir="${src}" destdir="${build}">
+ <classpath refid="classpath"/>
+ </javac>
+ </target>
+
+ <target name="dist" depends="compile"
+ description="generate the distribution" >
+ <jar jarfile="${dist}/prjava-${DSTAMP}.jar" basedir="${build}"/>
+ <symlink link="prjava.jar" resource="${dist}/prjava-${DSTAMP}.jar" overwrite="true"/>
+ </target>
+
+ <target name="clean"
+ description="clean up" >
+ <!-- Delete the ${build} and ${dist} directory trees -->
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>