- update applet deployment with lwjgl 2.8.0-nightly (fixes for MacOSX and Linux)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 29dbdc08a4
commit 7508d6c9bc
  1. 48
      sdk/jme3-lwjgl-applet/applet-loader/applet-template.html
  2. BIN
      sdk/jme3-lwjgl-applet/applet-loader/jinput.jar.pack.lzma
  3. BIN
      sdk/jme3-lwjgl-applet/applet-loader/linux_natives.jar.lzma
  4. BIN
      sdk/jme3-lwjgl-applet/applet-loader/lwjgl.jar.pack.lzma
  5. BIN
      sdk/jme3-lwjgl-applet/applet-loader/lwjgl_util_applet.jar
  6. BIN
      sdk/jme3-lwjgl-applet/applet-loader/lzma.jar
  7. BIN
      sdk/jme3-lwjgl-applet/applet-loader/macosx_natives.jar.lzma
  8. BIN
      sdk/jme3-lwjgl-applet/applet-loader/solaris_natives.jar.lzma
  9. BIN
      sdk/jme3-lwjgl-applet/applet-loader/windows_natives.jar.lzma
  10. 5
      sdk/jme3-lwjgl-applet/build.xml
  11. BIN
      sdk/jme3-lwjgl-applet/release/libs/applet-loader.zip
  12. 2
      sdk/jme3-lwjgl-applet/src/com/jme3/gde/lwjgl/applet/LwjglAppletCompositeProvider.java
  13. 1
      sdk/jme3-lwjgl-applet/src/com/jme3/gde/lwjgl/applet/lwjgl-applet-targets.xml

@ -0,0 +1,48 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Launcher Page for ${applet.title} Applet</title>
</head>
<body>
<div align="center">
<h2>Launcher Page for ${applet.title} Applet</title>
<br/>
<!-- ***************************************************** -->
<!-- Copy this section into your website to use the applet -->
<!-- ***************************************************** -->
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
var attributes = {code:'org.lwjgl.util.applet.AppletLoader',
archive:'${applet.archive}',
codebase:'.',
width:${applet.width}, height:${applet.height}};
var parameters =
{
AppClass:'${applet.main.class}',
al_title:'${applet.title}',
al_main:'com.jme3.app.AppletHarness',
al_logo:'${applet.logo}',
al_progressbar:'appletprogress.gif',
al_jars:'${applet.classpath}',
al_windows:'windows_natives.jar.lzma',
al_linux:'linux_natives.jar.lzma',
al_mac:'macosx_natives.jar.lzma',
al_solaris:'solaris_natives.jar.lzma',
separate_jvm:'true',
boxborder:'false',
centerimage:'true',
image:'${applet.logo}',
java_arguments:'-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false'
};
var version = '1.5' ;
deployJava.runApplet(attributes, parameters, version);
</script>
<!-- ***************************************************** -->
<!-- ***************************************************** -->
</div>
</body>
</html>

@ -10,4 +10,9 @@
<zipfileset dir="applet-data" prefix=""/>
</zip>
</target>
<target name="zip-appletloader" description="Zips applet loader">
<zip destfile="release/libs/applet-loader.zip">
<zipfileset dir="applet-loader" prefix=""/>
</zip>
</target>
</project>

@ -61,7 +61,7 @@ public class LwjglAppletCompositeProvider implements ProjectCustomizer.Composite
private class SavePropsListener implements ActionListener {
private String extensionName = "lwjglapplet";
private String extensionVersion = "v0.95";
private String extensionVersion = "v0.96";
private String[] extensionDependencies = new String[]{"jar", "-lwjgl-applet"};
private ProjectExtensionManager manager = new ProjectExtensionManager(extensionName, extensionVersion, extensionDependencies);
private ProjectExtensionProperties properties;

@ -1,5 +1,6 @@
<target name="-lwjgl-applet-packlogo" if="splashscreen.available">
<echo>Packing Splash</echo>
<copy file="appletlogo.png" todir="${applet.dir}"/>
<copy file="${application.splash}" todir="${applet.dir}"/>
<!-- <jar destfile="${applet.dir}/logo.jar">

Loading…
Cancel
Save