Added an applet test (lwjgl from applets doesn't work yet).

This commit is contained in:
Elias Naur 2006-06-27 15:41:53 +00:00
parent 7ac72d9c32
commit c0b1cc5a8b
3 changed files with 21 additions and 0 deletions

5
applet/applet.html Normal file
View File

@ -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>

BIN
applet/lwjglkeystore Normal file

Binary file not shown.

View File

@ -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,6 +340,16 @@
<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 -->