summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-13 14:32:53 +0000
committertrevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-13 14:32:53 +0000
commitbddde964a3686d79e77898def1ca7eb228c7caf1 (patch)
tree7a8f68ae2dbd3795e3bec3d346cb8c16b71243df
parentf47330182fdf2e44eb28d39d8db55deb31b54d1f (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.xml4
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"