MacOSX DMG package creation
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@366 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
23aa8311eb
commit
e707b8fe5c
47
build.xml
47
build.xml
|
@ -44,6 +44,49 @@
|
||||||
</nsis>
|
</nsis>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="dist-osx">
|
||||||
|
<taskdef name="jarbundler"
|
||||||
|
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"
|
||||||
|
mainclass="davmail.DavGateway"
|
||||||
|
build="$(version)"
|
||||||
|
icon="src/osx/tray.icns"
|
||||||
|
infostring="DavMail Gateway $(version)"
|
||||||
|
jvmversion="1.5+"
|
||||||
|
version="$(version)"
|
||||||
|
vmoptions="-Dsun.net.inetaddr.ttl=60 -Xmx512m"
|
||||||
|
stubfile="dist/JavaApplicationStub">
|
||||||
|
<jarfileset dir="dist/lib">
|
||||||
|
<include name="*.jar"/>
|
||||||
|
<exclude name="swt*.jar"/>
|
||||||
|
</jarfileset>
|
||||||
|
<jarfileset dir="dist">
|
||||||
|
<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>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="dist-deb">
|
<target name="dist-deb">
|
||||||
<taskdef resource="ant_deb_task.properties">
|
<taskdef resource="ant_deb_task.properties">
|
||||||
<classpath location="lib/ant-deb-0.0.1.jar"/>
|
<classpath location="lib/ant-deb-0.0.1.jar"/>
|
||||||
|
@ -64,7 +107,8 @@
|
||||||
<maintainer email="mguessan@free.fr" name="Mickaël Guessant"/>
|
<maintainer email="mguessan@free.fr" name="Mickaël Guessant"/>
|
||||||
<description synopsis="DavMail POP/IMAP/SMTP/Caldav/LDAP Exchange Gateway">
|
<description synopsis="DavMail POP/IMAP/SMTP/Caldav/LDAP Exchange Gateway">
|
||||||
Ever wanted to get rid of Outlook ? DavMail is a POP/IMAP/SMTP/Caldav/LDAP exchange gateway allowing
|
Ever wanted to get rid of Outlook ? DavMail is a POP/IMAP/SMTP/Caldav/LDAP exchange gateway allowing
|
||||||
users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server,
|
users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange
|
||||||
|
server,
|
||||||
even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an
|
even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an
|
||||||
LDAP gateway to Exchange global address book to allow recipient address completion in mail compoze
|
LDAP gateway to Exchange global address book to allow recipient address completion in mail compoze
|
||||||
window and full calendar support with attendees free/busy display.
|
window and full calendar support with attendees free/busy display.
|
||||||
|
@ -179,6 +223,7 @@
|
||||||
</tar>
|
</tar>
|
||||||
<antcall target="dist-nsis"/>
|
<antcall target="dist-nsis"/>
|
||||||
<antcall target="dist-deb"/>
|
<antcall target="dist-deb"/>
|
||||||
|
<antcall target="dist-osx"/>
|
||||||
<!-- source package -->
|
<!-- source package -->
|
||||||
<tar tarfile="dist/davmail-src-${version}.tgz" compression="gzip" longfile="gnu">
|
<tar tarfile="dist/davmail-src-${version}.tgz" compression="gzip" longfile="gnu">
|
||||||
<tarfileset prefix="davmail-src-${version}" dir=".">
|
<tarfileset prefix="davmail-src-${version}" dir=".">
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue