- add fix for desktop creation failing when no JVM options are set

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9876 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2012-10-21 23:00:09 +00:00
parent 60f52b8ea6
commit 2daafe71cf
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ public class DesktopExeCompositeProvider implements ProjectCustomizer.CompositeC
public SavePropsListener(ProjectExtensionProperties props, Project project) { public SavePropsListener(ProjectExtensionProperties props, Project project) {
this.properties = props; this.properties = props;
this.project = project; this.project = project;
launch4j = new ProjectExtensionManager("launch4j", "v1.3", new String[]{"jar", "-launch4j-exe"}); launch4j = new ProjectExtensionManager("launch4j", "v1.4", new String[]{"jar", "-launch4j-exe"});
launch4j.setAntTaskLibrary("launch4j"); launch4j.setAntTaskLibrary("launch4j");
launch4j.setDataZip("nbres:/com/jme3/gde/desktop/executables/winapp-data.zip"); launch4j.setDataZip("nbres:/com/jme3/gde/desktop/executables/winapp-data.zip");
macapp = new ProjectExtensionManager("macapp", "v1.2", new String[]{"jar", "-mac-app"}); macapp = new ProjectExtensionManager("macapp", "v1.2", new String[]{"jar", "-mac-app"});

View File

@ -18,9 +18,9 @@ and open the template in the editor.
</singleInstance> </singleInstance>
<jre> <jre>
<!-- Specify one of the following or both --> <!-- Specify one of the following or both -->
<path>bundled JRE path</path> <!--path>bundled JRE path</path-->
<minVersion>1.5.0</minVersion> <minVersion>1.5.0</minVersion>
<opt>${run.jvmargs}</opt> <opt>${run.jvmargs} -Xnoagent</opt>
</jre> </jre>
<!--splash> <!--splash>
<file>file</file> <file>file</file>