Author: sebb
Date: Mon Oct 4 01:00:38 2010
New Revision: 1004078
URL: http://svn.apache.org/viewvc?rev=1004078&view=rev
Log:
Ensure Ant builds are reproducible
Modified:
commons/proper/exec/trunk/build.xml
Modified: commons/proper/exec/trunk/build.xml
URL:
http://svn.apache.org/viewvc/commons/proper/exec/trunk/build.xml?rev=1004078&r1=1004077&r2=1004078&view=diff
==============================================================================
--- commons/proper/exec/trunk/build.xml (original)
+++ commons/proper/exec/trunk/build.xml Mon Oct 4 01:00:38 2010
@@ -46,7 +46,8 @@
<target name="compile" description="Compile the code">
<mkdir dir="${maven.build.output}"/>
- <javac destdir="${maven.build.output}" excludes="**/package.html"
debug="true" deprecation="true" optimize="false"
+ <javac destdir="${maven.build.output}" excludes="**/package.html"
debug="true" deprecation="true" optimize="false"
+ includeAntRuntime="false"
source="${maven.compile.source}" target="${maven.compile.target}">
<src>
<pathelement location="${basedir}/src/main/java"/>
@@ -61,6 +62,7 @@
<target name="compile-tests" depends="junit-present, compile"
description="Compile the test code" if="junit.present">
<mkdir dir="${maven.test.output}"/>
<javac destdir="${maven.test.output}" excludes="**/package.html"
debug="true" deprecation="true" optimize="false"
+ includeAntRuntime="false"
source="${maven.compile.source}" target="${maven.compile.target}">
<src>
<pathelement location="${basedir}/src/test/java"/>