mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32: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:
parent
37089d4f5a
commit
71323e707c
19
build.xml
19
build.xml
@ -50,9 +50,6 @@
|
|||||||
classname="net.sourceforge.jarbundler.JarBundler">
|
classname="net.sourceforge.jarbundler.JarBundler">
|
||||||
<classpath location="lib/jarbundler-2.1.0.jar"/>
|
<classpath location="lib/jarbundler-2.1.0.jar"/>
|
||||||
</taskdef>
|
</taskdef>
|
||||||
<!-- Fake JavaApplicationStub, replaced with a link to
|
|
||||||
/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub-->
|
|
||||||
<touch file="dist/JavaApplicationStub"/>
|
|
||||||
<jarbundler dir="dist"
|
<jarbundler dir="dist"
|
||||||
shortname="DavMail"
|
shortname="DavMail"
|
||||||
name="DavMail"
|
name="DavMail"
|
||||||
@ -64,7 +61,7 @@
|
|||||||
version="${version}"
|
version="${version}"
|
||||||
vmoptions="-Dsun.net.inetaddr.ttl=60 -Xmx512m"
|
vmoptions="-Dsun.net.inetaddr.ttl=60 -Xmx512m"
|
||||||
workingdirectory="$APP_PACKAGE"
|
workingdirectory="$APP_PACKAGE"
|
||||||
stubfile="dist/JavaApplicationStub">
|
stubfile="src/osx/davmail">
|
||||||
<jarfileset dir="dist/lib">
|
<jarfileset dir="dist/lib">
|
||||||
<include name="*.jar"/>
|
<include name="*.jar"/>
|
||||||
<exclude name="swt*.jar"/>
|
<exclude name="swt*.jar"/>
|
||||||
@ -73,14 +70,14 @@
|
|||||||
<include name="*.jar"/>
|
<include name="*.jar"/>
|
||||||
</jarfileset>
|
</jarfileset>
|
||||||
</jarbundler>
|
</jarbundler>
|
||||||
<delete file="dist/JavaApplicationStub"/>
|
<zip file="dist/DavMail-MacOSX-${version}.app.zip" >
|
||||||
<delete dir="dist/DavMail.app/Contents/MacOS"/>
|
<zipfileset dir="dist">
|
||||||
<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">
|
|
||||||
<include name="DavMail.app/**/*"/>
|
<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>
|
</zip>
|
||||||
<delete dir="dist/DavMail.app"/>
|
<delete dir="dist/DavMail.app"/>
|
||||||
</target>
|
</target>
|
||||||
|
Binary file not shown.
BIN
src/osx/davmail
Normal file
BIN
src/osx/davmail
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user