A complete 3D game development suite written purely in Java.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
<target name="-linux-launcher" depends="-test-linux-launcher-enabled" if="is.linux.launcher.enabled">
|
|
|
|
<echo>Linux Launcher Creation</echo>
|
|
|
|
<echo file="${application.title}.sh">#!/bin/sh
|
|
|
|
java JVMARGS -jar ${application.title}.jar
|
|
|
|
</echo>
|
|
|
|
<replace file="${application.title}.sh" token="JVMARGS" value="${run.jvmargs}"/>
|
|
|
|
<zip destfile="${dist.dir}/${application.title}-Linux.zip">
|
|
|
|
<zipfileset file="${application.title}.sh" filemode="755" prefix=""/>
|
|
|
|
<zipfileset file="${dist.jar}" prefix=""/>
|
|
|
|
<zipfileset dir="${dist.dir}/lib" prefix="lib/"/>
|
|
|
|
</zip>
|
|
|
|
<delete file="${application.title}.sh"/>
|
|
|
|
</target>
|
|
|
|
<target name="-test-linux-launcher-enabled">
|
|
|
|
<condition property="is.linux.launcher.enabled">
|
|
|
|
<istrue value="${linux.launcher.enabled}"/>
|
|
|
|
</condition>
|
|
|
|
</target>
|