|
From: <ma...@us...> - 2011-10-15 21:14:05
|
Revision: 3678
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3678&view=rev
Author: matzon
Date: 2011-10-15 21:13:58 +0000 (Sat, 15 Oct 2011)
Log Message:
-----------
add copy-nightly-binaries target to build file
Modified Paths:
--------------
trunk/LWJGL/build.xml
Modified: trunk/LWJGL/build.xml
===================================================================
--- trunk/LWJGL/build.xml 2011-10-15 20:25:09 UTC (rev 3677)
+++ trunk/LWJGL/build.xml 2011-10-15 21:13:58 UTC (rev 3678)
@@ -625,4 +625,16 @@
<bottom><![CDATA[<i>Copyright © 2002-2009 lwjgl.org. All Rights Reserved.</i>]]></bottom>
</javadoc>
</target>
+
+ <!-- get and copy nightly binaries into libs folder -->
+ <target name="copy-nightly-binaries" depends="-initialize" description="Copies latest successful nightly binaries into appropriate libs folder">
+ <delete file="${lwjgl.temp}/lwjgl-${lwjgl.version}.zip" failonerror="false"/>
+ <get src="http://www.newdawnsoftware.com/jenkins/view/LWJGL/job/LWJGL/lastSuccessfulBuild/artifact/dist/lwjgl-${lwjgl.version}.zip" dest="${lwjgl.temp}" verbose="true"/>
+ <unzip src="${lwjgl.temp}/lwjgl-${lwjgl.version}.zip" dest="${lwjgl.lib}" overwrite="true">
+ <patternset>
+ <include name="**/native/**/*lwjgl*"/>
+ </patternset>
+ <globmapper from="lwjgl-${lwjgl.version}/native/*" to="*"/>
+ </unzip>
+ </target>
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|