|
From: <eli...@us...> - 2006-11-09 11:04:25
|
Revision: 2622
http://svn.sourceforge.net/java-game-lib/?rev=2622&view=rev
Author: elias_naur
Date: 2006-11-09 03:03:55 -0800 (Thu, 09 Nov 2006)
Log Message:
-----------
Add applettest ant target for easy LWJGL applet testing in appletviewer
Modified Paths:
--------------
trunk/LWJGL/build.xml
Added Paths:
-----------
trunk/LWJGL/applet/appletviewer.policy
Added: trunk/LWJGL/applet/appletviewer.policy
===================================================================
--- trunk/LWJGL/applet/appletviewer.policy (rev 0)
+++ trunk/LWJGL/applet/appletviewer.policy 2006-11-09 11:03:55 UTC (rev 2622)
@@ -0,0 +1,5 @@
+keystore "lwjglkeystore";
+
+grant SignedBy "lwjgl" {
+ permission java.security.AllPermission;
+};
Modified: trunk/LWJGL/build.xml
===================================================================
--- trunk/LWJGL/build.xml 2006-11-07 15:14:31 UTC (rev 2621)
+++ trunk/LWJGL/build.xml 2006-11-09 11:03:55 UTC (rev 2622)
@@ -345,6 +345,13 @@
</jar>
</target>
+ <target name="applettest" depends="applet">
+ <exec executable="appletviewer">
+ <arg value="-J-Djava.security.policy=applet/appletviewer.policy"/>
+ <arg path="applet/applet.html"/>
+ </exec>
+ </target>
+
<target name="runtest" depends="all">
<fail message="test.mainclass is not set. Use 'ant -Dtest.mainclass=<main-class> runtest'" unless="test.mainclass"/>
<condition property="native_path" value="libs/win32">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|