From 26813534342b6bd55c5eb35c40d8c7135bb13ab8 Mon Sep 17 00:00:00 2001
From: Sean-M <Smoss117@gmail.com>
Date: Tue, 12 Feb 2013 13:05:24 -0500
Subject: [PATCH] Minor Fixes to build

---
 bindings/java/build.xml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/bindings/java/build.xml b/bindings/java/build.xml
index 90b9489d8..4c35b4e00 100755
--- a/bindings/java/build.xml
+++ b/bindings/java/build.xml
@@ -125,12 +125,14 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" />
 	</target>
 	<target name="test" 
 			description="Traverses the Images stored in the path represented by test-input variable, creates results files stored in the path represented by test-results, and compares them to the standards stored in the path represented by the test-standards variable, always run test-create-standards at least once before before running test."
-			depends="compile-test, test-precond">
-				<fail if="imp" message="Run make install on The Sleuthkit."/>
+			depends="compile-test, test-precond"
+			unless="imp">
+				<fail message="Run make install on The Sleuthkit."/>
 	</target>
 	<target name="test-create-standards"
 			description="Traverses the Images stored in the path represented by test-input variable and creates then stores them to the path represented by the test-standards variable, run test-download-imgs at least once before this."
-			depends="compile-test, test-create-standards-precond">
-				<fail if="imp" message="Run make install on The Sleuthkit."/>
+			depends="compile-test, test-create-standards-precond"
+			unless="imp">
+				<fail message="Run make install on The Sleuthkit."/>
 	</target>
 </project>
-- 
GitLab