From: <eli...@us...> - 2006-06-27 15:42:25
|
Revision: 2393 Author: elias_naur Date: 2006-06-27 08:41:53 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2393&view=rev Log Message: ----------- Added an applet test (lwjgl from applets doesn't work yet). Modified Paths: -------------- trunk/LWJGL/build.xml Added Paths: ----------- trunk/LWJGL/applet/ trunk/LWJGL/applet/applet.html trunk/LWJGL/applet/lwjglkeystore Added: trunk/LWJGL/applet/applet.html =================================================================== --- trunk/LWJGL/applet/applet.html (rev 0) +++ trunk/LWJGL/applet/applet.html 2006-06-27 15:41:53 UTC (rev 2393) @@ -0,0 +1,5 @@ +<html> +<body> +<applet code="org.lwjgl.test.applet.LWJGLApplet" archive="lwjgl_applet.jar,lwjgl.jar" width="640" height="480"></applet> +</body> +</html> Added: trunk/LWJGL/applet/lwjglkeystore =================================================================== (Binary files differ) Property changes on: trunk/LWJGL/applet/lwjglkeystore ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/LWJGL/build.xml =================================================================== --- trunk/LWJGL/build.xml 2006-06-27 12:57:04 UTC (rev 2392) +++ trunk/LWJGL/build.xml 2006-06-27 15:41:53 UTC (rev 2393) @@ -75,6 +75,12 @@ <include name="org/lwjgl/devil/**"/> </fileset> + <!-- Files to include in the lwjgl_applet.jar file --> + <fileset id="lwjgl_applet.fileset" dir="${lwjgl.bin}"> + <exclude name="**.*"/> + <include name="org/lwjgl/test/applet/**"/> + </fileset> + <!-- Files to make Javadoc from --> <fileset id="lwjgl.javadoc.fileset" dir="${lwjgl.src}"> <include name="**/*.java" /> @@ -334,8 +340,18 @@ <jar destfile="${lwjgl.temp}/jar/lwjgl_devil.jar" taskname="lwjgl_devil.jar"> <fileset refid="lwjgl_devil.fileset" /> </jar> + </target> + <target name="applet" depends="jars"> + <!-- Create lwjgl_applet.jar --> + <jar destfile="applet/lwjgl_applet.jar" taskname="lwjgl_applet.jar"> + <fileset refid="lwjgl_applet.fileset" /> + </jar> + <copy file="${lwjgl.lib}/lwjgl.jar" todir="applet"/> + <signjar jar="applet/lwjgl.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/> + </target> + <!-- Distributes files --> <target name="-distribute"> <delete> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |