From 4dbfa24518c09d8789fc003761c617ccb8bfc738 Mon Sep 17 00:00:00 2001
From: adam-m <amalinowski@basistech.com>
Date: Tue, 20 Nov 2012 09:31:25 -0500
Subject: [PATCH] fix jni lib dir in some cases

---
 bindings/java/build.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/bindings/java/build.xml b/bindings/java/build.xml
index 4c5270f34..05ebf157e 100755
--- a/bindings/java/build.xml
+++ b/bindings/java/build.xml
@@ -71,7 +71,6 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" />
   
 	<target name="compile-test" depends="compile"
         description="compile the tests" >
-		<antcall target="retrieve-deps" />
 		<javac debug="on" srcdir="${test}" destdir="${build}">
 			<classpath refid="libraries"/>
 		</javac>
@@ -96,7 +95,7 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" />
 		</junit>
 	</target>
  
-	<target name="compile" depends="init"
+	<target name="compile" depends="init, retrieve-deps"
         description="compile the source" >
     <!-- Compile the java code from ${src} into ${build} -->
 		<javac debug="on" srcdir="${src}" destdir="${build}" classpathref="libraries" includeantruntime="false">
@@ -108,8 +107,6 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" />
         description="generate the distribution" >
     <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
 		<jar jarfile="${dist}/Tsk_DataModel.jar" basedir="${build}"/>
-	<!-- Fetch dependencies too -->
-		<antcall target="retrieve-deps" />
 	</target>
   
 	<target name="jni" depends="compile" description="make the jni.h file">
-- 
GitLab