mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-12 10:42:21 -05:00
Allow Java 7 to build DavMail
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2031 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
dbcc088525
commit
178896b9c6
@ -23,7 +23,10 @@
|
||||
</condition>
|
||||
|
||||
<condition property="is.java6">
|
||||
<equals arg1="${ant.java.version}" arg2="1.6"/>
|
||||
<or>
|
||||
<equals arg1="${ant.java.version}" arg2="1.6"/>
|
||||
<equals arg1="${ant.java.version}" arg2="1.7"/>
|
||||
</or>
|
||||
</condition>
|
||||
|
||||
<target name="check-java6" unless="is.java6">
|
||||
@ -111,6 +114,9 @@
|
||||
<!-- prepare hide from dock option -->
|
||||
<replaceregexp file="dist/DavMail.app/Contents/Info.plist" match="<key>CFBundleName</key>"
|
||||
replace="<key>LSUIElement</key><string>0</string><key>CFBundleName</key>"/>
|
||||
<!-- Retina display support -->
|
||||
<replaceregexp file="dist/DavMail.app/Contents/Info.plist" match="<key>CFBundleName</key>"
|
||||
replace="<key>NSHighResolutionCapable</key><true/><key>CFBundleName</key>"/>
|
||||
<zip file="dist/DavMail-MacOSX-${release}.app.zip">
|
||||
<zipfileset dir="dist">
|
||||
<include name="DavMail.app/**/*"/>
|
||||
|
Loading…
Reference in New Issue
Block a user