- Timestamp:
- 2013-09-05T01:34:04+02:00 (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r6216 r6217 103 103 </jar> 104 104 </target> 105 105 <!-- Compatibility Mac OS X target for Java 6 (incompatible with new on for Java 7, see #8654, #9035) --> 106 106 <target name="distmac" depends="dist"> 107 107 <!-- modify MacOS X Info.plist file to hold the SVN version number --> … … 117 117 </zip> 118 118 </target> 119 119 <!-- New Mac OS X target for Java 7 --> 120 120 <target name="distmac7" depends="dist"> 121 122 123 121 <!-- Using https://bitbucket.org/infinitekind/appbundler to create mac application bundle --> 122 <taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask" classpath="tools/appbundler-1.0ea.jar"/> 123 <!-- create MacOS X application bundle --> 124 124 <bundleapp outputdirectory="dist" name="JOSM" displayname="JOSM" executablename="JOSM" identifier="org.openstreetmap.josm" 125 125 mainclassname="org.openstreetmap.josm.gui.MainApplication" 126 copyright="JOSM, and all its integral parts, are released under the GNU General Public License v2 or later" 126 127 applicationCategory="public.app-category.utilities" 127 128 shortversion="${version.entry.commit.revision} SVN" 128 129 version="${version.entry.commit.revision} SVN" 129 130 icon="macosx/JOSM.app/Contents/Resources/JOSM.icns" 130 highResolutionCapable=" false">131 highResolutionCapable="true"> 131 132 132 133 <arch name="x86_64"/> … … 147 148 <option value="-Dcom.apple.smallTabs=true"/> 148 149 </bundleapp> 149 150 151 <!-- appbundler lacks the possibility of defining our own keys or using a template, so update the .plist manually --> 152 <taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask" classpath="tools/xmltask.jar"/> 153 154 <xmltask source="dist/JOSM.app/Contents/Info.plist" dest="dist/JOSM.app/Contents/Info.plist" indent="false"> 155 <insert position="before" path="/plist/dict/key[1]"><![CDATA[<key>CFBundleAllowMixedLocalizations</key> 156 <string>true</string> 157 ]]></insert> 158 </xmltask> 159 150 160 <!-- create ZIP file with MacOS X application bundle --> 151 161 <zip destfile="dist/josm-custom-macosx-java7.zip" update="true"> … … 153 163 <zipfileset dir="dist" includes="JOSM.app/**/*" filemode="755" /> 154 164 </zip> 155 165 </target> 156 166 <target name="javacc" depends="init" unless="javacc.notRequired"> 157 167 <mkdir dir="${mapcss.dir}/parsergen"/>
Note:
See TracChangeset
for help on using the changeset viewer.