|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
<target name="-mac-app" depends="-test-mac-app-enabled" if="is.mac.app.enabled"> |
|
|
|
|
<echo>MacOSX Application Creation</echo> |
|
|
|
|
<copy file="Info.plist" tofile="_Info.plist"> |
|
|
|
|
<copy file="resources/macapp/Info.plist" tofile="resources/macapp/_Info.plist"> |
|
|
|
|
<filterchain> |
|
|
|
|
<replacestring from="$${main.class}" to="${main.class}"/> |
|
|
|
|
<replacestring from="$${run.jvmargs}" to="${run.jvmargs}"/> |
|
|
|
@ -14,7 +14,7 @@ |
|
|
|
|
<zipfileset file="${dist.jar}" prefix="${application.title}.app/Contents/Resources/Java"/> |
|
|
|
|
<zipfileset dir="${dist.dir}/lib" prefix="${application.title}.app/Contents/Resources/Java/lib"/> |
|
|
|
|
</zip> |
|
|
|
|
<delete file="_Info.plist"/> |
|
|
|
|
<delete file="resources/macapp/_Info.plist"/> |
|
|
|
|
</target> |
|
|
|
|
<target name="-test-mac-app-enabled"> |
|
|
|
|
<condition property="is.mac.app.enabled"> |
|
|
|
|