From 564c6cef7b51caa87e0aa32b6fcbccb98f375ae7 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Fri, 3 Nov 2017 09:07:06 -0700 Subject: [PATCH] Fix ant warning about includeantruntime According to https://stackoverflow.com/questions/5103384, ant 1.8 introduced a "misfeature" of providing the ant runtime by default in the java classpath. This causes some problems with reproducible builds, which is why later versions have a warning not to do it. The solution is to make the inclusion of ant.jar in the classpath explicit. That's been done now. --- build/ACBuild-default.properties | 3 +++ build/build.xml | 18 +++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/build/ACBuild-default.properties b/build/ACBuild-default.properties index 64db587..fb9900d 100644 --- a/build/ACBuild-default.properties +++ b/build/ACBuild-default.properties @@ -5,6 +5,9 @@ # ACBuild.properties. That will allow you to change locations of # support files for local builds. # +antJarPathWin=C:/Java/lib/ant1.10.1/ant.jar +antJarPathMac=/opt/local/share/java/apache-ant/lib/ant.jar +antJarPathUnix=/usr/share/java/ant.jar swtJarPathWin=C:/Program Files/Eclipse 2.1.x/plugins/org.eclipse.swt.win32_2.1.3/ws/win32/swt.jar swtJarPathMac=/Users/Shared/eclipse/plugins/org.eclipse.swt.carbon.macosx_3.3.3.v3349.jar swtJarPathUnix=/usr/share/java/swt.jar diff --git a/build/build.xml b/build/build.xml index c847050..d114961 100755 --- a/build/build.xml +++ b/build/build.xml @@ -2,7 +2,12 @@ This script builds the distribution components. - + + + + + + @@ -15,6 +20,8 @@ + + @@ -25,6 +32,7 @@ + @@ -32,6 +40,7 @@ + @@ -53,16 +62,19 @@ + + + @@ -107,7 +119,7 @@ - + @@ -127,7 +139,7 @@ - +