From: <ma...@us...> - 2010-04-12 19:04:33
|
Revision: 3320 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3320&view=rev Author: matzon Date: 2010-04-12 19:04:27 +0000 (Mon, 12 Apr 2010) Log Message: ----------- always build the native file with the latest version Modified Paths: -------------- trunk/LWJGL/build.xml Modified: trunk/LWJGL/build.xml =================================================================== --- trunk/LWJGL/build.xml 2010-04-11 18:00:27 UTC (rev 3319) +++ trunk/LWJGL/build.xml 2010-04-12 19:04:27 UTC (rev 3320) @@ -256,6 +256,12 @@ </javah> </target> + <target name="touch-version"> + <touch file="${lwjgl.src.native}/windows/org_lwjgl_opengl_Display.c"/> + <touch file="${lwjgl.src.native}/linux/org_lwjgl_opengl_Display.c"/> + <touch file="${lwjgl.src.native}/macosx/org_lwjgl_opengl_Display.m"/> + </target> + <target name="version-mismatch"> <loadfile srcfile="${lwjgl.src}/java/org/lwjgl/WindowsSysImplementation.java" property="lwjgl.java.windows.version"> <filterchain> @@ -325,7 +331,7 @@ <javac debug="yes" srcdir="${lwjgl.src}/java/" destdir="${lwjgl.bin}" includes="org/lwjgl/examples/**" source="1.4" target="1.4" taskname="examples" /> </target> - <target name="compile_native" depends="headers, version-mismatch" description="Compiles the native files"> + <target name="compile_native" depends="headers, touch-version, version-mismatch" description="Compiles the native files"> <condition property="lwjgl.platform.windows"> <os family="windows" /> </condition> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |