1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

OSX: replace JavaApplicationStub link with actual file

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@559 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-05-10 22:22:32 +00:00
parent 37089d4f5a
commit 71323e707c
3 changed files with 8 additions and 11 deletions

View File

@ -50,9 +50,6 @@
classname="net.sourceforge.jarbundler.JarBundler">
<classpath location="lib/jarbundler-2.1.0.jar"/>
</taskdef>
<!-- Fake JavaApplicationStub, replaced with a link to
/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub-->
<touch file="dist/JavaApplicationStub"/>
<jarbundler dir="dist"
shortname="DavMail"
name="DavMail"
@ -64,7 +61,7 @@
version="${version}"
vmoptions="-Dsun.net.inetaddr.ttl=60 -Xmx512m"
workingdirectory="$APP_PACKAGE"
stubfile="dist/JavaApplicationStub">
stubfile="src/osx/davmail">
<jarfileset dir="dist/lib">
<include name="*.jar"/>
<exclude name="swt*.jar"/>
@ -73,14 +70,14 @@
<include name="*.jar"/>
</jarfileset>
</jarbundler>
<delete file="dist/JavaApplicationStub"/>
<delete dir="dist/DavMail.app/Contents/MacOS"/>
<copy file="src/osx/DavMail.JavaApplicationStub.app.zip"
tofile="dist/DavMail-MacOSX-${version}.app.zip" overwrite="true"/>
<zip update="true" file="dist/DavMail-MacOSX-${version}.app.zip">
<fileset dir="dist">
<zip file="dist/DavMail-MacOSX-${version}.app.zip" >
<zipfileset dir="dist">
<include name="DavMail.app/**/*"/>
</fileset>
<exclude name="DavMail.app/Contents/MacOS/davmail"/>
</zipfileset>
<zipfileset dir="dist" filemode="755">
<include name="DavMail.app/Contents/MacOS/davmail"/>
</zipfileset>
</zip>
<delete dir="dist/DavMail.app"/>
</target>

BIN
src/osx/davmail Normal file

Binary file not shown.