mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-12 05:58:48 -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+"
|
||||
version="$(version)"
|
||||
vmoptions="-Dsun.net.inetaddr.ttl=60 -Xmx512m"
|
||||
workingdirectory="$APP_PACKAGE"
|
||||
stubfile="dist/JavaApplicationStub">
|
||||
<jarfileset dir="dist/lib">
|
||||
<include name="*.jar"/>
|
||||
@ -71,20 +72,14 @@
|
||||
<include name="*.jar"/>
|
||||
</jarfileset>
|
||||
</jarbundler>
|
||||
<delete file="dist/DavMail.app/Contents/MacOS/JavaApplicationStub"/>
|
||||
<symlink link="dist/DavMail.app/Contents/MacOS/JavaApplicationStub"
|
||||
resource="/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub"/>
|
||||
<exec executable="/usr/bin/hdiutil" os="Mac OS X" failonerror="true">
|
||||
<arg value="create"/>
|
||||
<arg value="-srcfolder"/>
|
||||
<arg value="dist/DavMail.app"/>
|
||||
<arg value="SWTHello.dmg"/>
|
||||
</exec>
|
||||
<exec executable="/usr/bin/hdiutil" os="Mac OS X" failonerror="true">
|
||||
<arg value="internet-enable"/>
|
||||
<arg value="-yes"/>
|
||||
<arg value="SWTHello.dmg"/>
|
||||
</exec>
|
||||
<delete dir="dist/DavMail.app/Contents/MacOS"/>
|
||||
<copy file="src/osx/DavMail.JavaApplicationStub.app.zip"
|
||||
tofile="dist/DavMail.app.zip" overwrite="true"/>
|
||||
<zip update="true" file="dist/DavMail.app.zip">
|
||||
<fileset dir="dist">
|
||||
<include name="DavMail.app/**/*"/>
|
||||
</fileset>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
<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