mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-12 14:08:38 -05:00
Generate OSX package with JavaApplicationStub symbolic link
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@373 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
cfc4788774
commit
df4c4867cb
23
build.xml
23
build.xml
@ -62,6 +62,7 @@
|
|||||||
jvmversion="1.5+"
|
jvmversion="1.5+"
|
||||||
version="$(version)"
|
version="$(version)"
|
||||||
vmoptions="-Dsun.net.inetaddr.ttl=60 -Xmx512m"
|
vmoptions="-Dsun.net.inetaddr.ttl=60 -Xmx512m"
|
||||||
|
workingdirectory="$APP_PACKAGE"
|
||||||
stubfile="dist/JavaApplicationStub">
|
stubfile="dist/JavaApplicationStub">
|
||||||
<jarfileset dir="dist/lib">
|
<jarfileset dir="dist/lib">
|
||||||
<include name="*.jar"/>
|
<include name="*.jar"/>
|
||||||
@ -71,20 +72,14 @@
|
|||||||
<include name="*.jar"/>
|
<include name="*.jar"/>
|
||||||
</jarfileset>
|
</jarfileset>
|
||||||
</jarbundler>
|
</jarbundler>
|
||||||
<delete file="dist/DavMail.app/Contents/MacOS/JavaApplicationStub"/>
|
<delete dir="dist/DavMail.app/Contents/MacOS"/>
|
||||||
<symlink link="dist/DavMail.app/Contents/MacOS/JavaApplicationStub"
|
<copy file="src/osx/DavMail.JavaApplicationStub.app.zip"
|
||||||
resource="/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub"/>
|
tofile="dist/DavMail.app.zip" overwrite="true"/>
|
||||||
<exec executable="/usr/bin/hdiutil" os="Mac OS X" failonerror="true">
|
<zip update="true" file="dist/DavMail.app.zip">
|
||||||
<arg value="create"/>
|
<fileset dir="dist">
|
||||||
<arg value="-srcfolder"/>
|
<include name="DavMail.app/**/*"/>
|
||||||
<arg value="dist/DavMail.app"/>
|
</fileset>
|
||||||
<arg value="SWTHello.dmg"/>
|
</zip>
|
||||||
</exec>
|
|
||||||
<exec executable="/usr/bin/hdiutil" os="Mac OS X" failonerror="true">
|
|
||||||
<arg value="internet-enable"/>
|
|
||||||
<arg value="-yes"/>
|
|
||||||
<arg value="SWTHello.dmg"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="dist-deb">
|
<target name="dist-deb">
|
||||||
|
BIN
src/osx/DavMail.JavaApplicationStub.app.zip
Normal file
BIN
src/osx/DavMail.JavaApplicationStub.app.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user