diff options
author | trevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-13 14:32:53 +0000 |
---|---|---|
committer | trevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-13 14:32:53 +0000 |
commit | 9f91fec4bada4dde4c789702781b36ee7cce4ade (patch) | |
tree | 96118b6383adc36c9566c252fe7290e3bc2af258 | |
parent | a15b6133bdb8eee1cdbc67712f3a5e51c4ec5377 (diff) |
Added workaround for ANT bug which case causing a null pointer exception in build.
N.b. this bug have been fixed in modern builds of ANT.
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@234 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r-- | gi/posterior-regularisation/prjava/build.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/posterior-regularisation/prjava/build.xml b/gi/posterior-regularisation/prjava/build.xml index 155c45af..7222b3c8 100644 --- a/gi/posterior-regularisation/prjava/build.xml +++ b/gi/posterior-regularisation/prjava/build.xml @@ -20,7 +20,7 @@ <target name="compile" depends="init" description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> - <javac srcdir="${src}" destdir="${build}"> + <javac srcdir="${src}" destdir="${build}" includeantruntime="false"> <classpath refid="classpath"/> </javac> </target> @@ -28,7 +28,7 @@ <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"/> + <symlink link="./prjava.jar" resource="${dist}/prjava-${DSTAMP}.jar" overwrite="true"/> </target> <target name="clean" |