- add jvm args in linux distribution start script
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7477 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
792f44cf9f
commit
1541b2b4df
@ -73,7 +73,7 @@ public class DesktopExeCompositeProvider implements ProjectCustomizer.CompositeC
|
|||||||
launch4j = new ProjectExtensionManager("launch4j", "v1.1", new String[]{"jar", "-launch4j-exe"});
|
launch4j = new ProjectExtensionManager("launch4j", "v1.1", new String[]{"jar", "-launch4j-exe"});
|
||||||
launch4j.setAntTaskLibrary("launch4j");
|
launch4j.setAntTaskLibrary("launch4j");
|
||||||
macapp = new ProjectExtensionManager("macapp", "v1.1", new String[]{"jar", "-mac-app"});
|
macapp = new ProjectExtensionManager("macapp", "v1.1", new String[]{"jar", "-mac-app"});
|
||||||
linux = new ProjectExtensionManager("linuxlauncher", "v1.0", new String[]{"jar", "-linux-launcher"});
|
linux = new ProjectExtensionManager("linuxlauncher", "v1.1", new String[]{"jar", "-linux-launcher"});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
<target name="-linux-launcher" depends="-test-linux-launcher-enabled" if="is.linux.launcher.enabled">
|
<target name="-linux-launcher" depends="-test-linux-launcher-enabled" if="is.linux.launcher.enabled">
|
||||||
<echo>Linux Launcher Creation</echo>
|
<echo>Linux Launcher Creation</echo>
|
||||||
<echo file="${application.title}.sh">#!/bin/sh
|
<echo file="${application.title}.sh">#!/bin/sh
|
||||||
java -jar ${application.title}.jar
|
java JVMARGS -jar ${application.title}.jar
|
||||||
</echo>
|
</echo>
|
||||||
|
<replace file="${application.title}.sh" token="JVMARGS" value="${run.jvmargs}"/>
|
||||||
<zip destfile="${dist.dir}/${application.title}-Linux.zip">
|
<zip destfile="${dist.dir}/${application.title}-Linux.zip">
|
||||||
<zipfileset file="${application.title}.sh" filemode="755" prefix=""/>
|
<zipfileset file="${application.title}.sh" filemode="755" prefix=""/>
|
||||||
<zipfileset file="${dist.jar}" prefix=""/>
|
<zipfileset file="${dist.jar}" prefix=""/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user