Add applettest ant target for easy LWJGL applet testing in appletviewer
This commit is contained in:
parent
9f3de4fd81
commit
6d9aa21e96
|
@ -0,0 +1,5 @@
|
|||
keystore "lwjglkeystore";
|
||||
|
||||
grant SignedBy "lwjgl" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue