| 
      
      
      From: <eli...@us...> - 2007-11-14 11:54:23
      
     | 
| Revision: 2923
          http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=2923&view=rev
Author:   elias_naur
Date:     2007-11-14 03:54:06 -0800 (Wed, 14 Nov 2007)
Log Message:
-----------
Improved native path handling in 'runtest' ant target
Modified Paths:
--------------
    trunk/LWJGL/build.xml
Modified: trunk/LWJGL/build.xml
===================================================================
--- trunk/LWJGL/build.xml	2007-11-14 11:10:52 UTC (rev 2922)
+++ trunk/LWJGL/build.xml	2007-11-14 11:54:06 UTC (rev 2923)
@@ -384,9 +384,10 @@
 		<condition property="native_path" value="libs/macosx">
 			<os name="Mac OS X" />
 		</condition>
+		<property name="native_path_expanded" location="${native_path}"/>
 		<java classname="${test.mainclass}" classpath="res:${lwjgl.lib}/lwjgl.jar:${lwjgl.lib}/lwjgl_util.jar:${lwjgl.lib}/lwjgl_test.jar:${lwjgl.lib}/jinput.jar" fork="true">
-			<jvmarg value="-Dorg.lwjgl.util.Debug=true"/>
-			<jvmarg value="-Djava.library.path=${native_path}"/>
+			<sysproperty key="org.lwjgl.util.Debug" value="true"/>
+			<sysproperty key="java.library.path" value="${native_path_expanded}"/>
 		</java>
 	</target>
 	
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |