From 3bdab9929473421ee9b809dda2bb7ce2513ab982 Mon Sep 17 00:00:00 2001
From: Markus Alexander Kuppe <tlaplus.net@lemmster.de>
Date: Wed, 20 May 2015 13:21:39 +0200
Subject: [PATCH] [Build] Remove target's depends statements to stop ant from
 calling the compile target twice when the default target is executed.

---
 tlatools/customBuild.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tlatools/customBuild.xml b/tlatools/customBuild.xml
index f4565a61b..425d3e4da 100644
--- a/tlatools/customBuild.xml
+++ b/tlatools/customBuild.xml
@@ -92,7 +92,7 @@
 		</copy>
 	</target>
 
-	<target name="compile-aj" depends="compile" if="withaj">
+	<target name="compile-aj" if="withaj">
 		<echo>
 			====================================================================
 			= The following warnings (Xlint:adviceDidNotMatch) can be ignored. =
@@ -223,7 +223,7 @@
 		<delete dir="${ws.class.dir}" deleteonexit="true"/>
 	</target>
 
-	<target name="test-dist" description="Executes accompining unit tests on jar file" depends="dist" unless="test.skip">
+	<target name="test-dist" description="Executes accompining unit tests on jar file" unless="test.skip">
 		<!-- compile unit tests -->
 		<mkdir dir="${test.class.dir}" />
 		<javac includeantruntime="false" srcdir="${test.dir}" destdir="${test.class.dir}" debug="true" verbose="false" source="1.5" target="1.5">
@@ -276,7 +276,7 @@
 		<delete dir="${ws.class.dir}" deleteonexit="true"/>
 	</target>
 
-	<target name="test-dist-long" description="Executes accompining long-running unit tests on jar file" depends="dist" unless="test.skip">
+	<target name="test-dist-long" description="Executes accompining long-running unit tests on jar file" unless="test.skip">
 		<!-- compile unit tests -->
 		<mkdir dir="${test.class.dir}" />
 		<javac includeantruntime="false" srcdir="${test.dir}-long" destdir="${test.class.dir}" debug="true" verbose="false" source="1.5" target="1.5">
-- 
GitLab