Changeset 6945 in josm
- Timestamp:
- 2014-03-29T17:30:04+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r6830 r6945 146 146 </target> 147 147 <!-- New Mac OS X target for Java 7 --> 148 <target name=" distmac7" depends="dist">148 <target name="mac7"> 149 149 <!-- Using https://bitbucket.org/infinitekind/appbundler to create mac application bundle --> 150 150 <taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask" classpath="tools/appbundler-1.0ea.jar"/> 151 151 <!-- create MacOS X application bundle --> 152 <bundleapp outputdirectory=" dist" name="JOSM" displayname="JOSM" executablename="JOSM" identifier="org.openstreetmap.josm"152 <bundleapp outputdirectory="${bundle.outdir}" name="JOSM" displayname="JOSM" executablename="JOSM" identifier="org.openstreetmap.josm" 153 153 mainclassname="org.openstreetmap.josm.gui.MainApplication" 154 154 copyright="JOSM, and all its integral parts, are released under the GNU General Public License v2 or later" … … 162 162 <arch name="i386"/> 163 163 164 <classpath file=" dist/josm-custom.jar"/>164 <classpath file="${bundle.jar}"/> 165 165 166 166 <option value="-Xmx512m"/> … … 180 180 <taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask" classpath="tools/xmltask.jar"/> 181 181 182 <xmltask source=" dist/JOSM.app/Contents/Info.plist" dest="dist/JOSM.app/Contents/Info.plist" indent="false">182 <xmltask source="${bundle.outdir}/JOSM.app/Contents/Info.plist" dest="${bundle.outdir}/JOSM.app/Contents/Info.plist" indent="false"> 183 183 <insert position="before" path="/plist/dict/key[1]"><![CDATA[<key>CFBundleAllowMixedLocalizations</key> 184 184 <string>true</string> … … 187 187 188 188 <!-- create ZIP file with MacOS X application bundle --> 189 <zip destfile=" dist/josm-custom-macosx-java7.zip" update="true">190 <zipfileset dir=" build" includes="CONTRIBUTION README LICENSE"/>191 <zipfileset dir=" dist" includes="JOSM.app/**/*" filemode="755" />189 <zip destfile="${bundle.outdir}/josm-custom-macosx-java7.zip" update="true"> 190 <zipfileset dir="." includes="CONTRIBUTION README LICENSE"/> 191 <zipfileset dir="${bundle.outdir}" includes="JOSM.app/**/*" filemode="755" /> 192 192 </zip> 193 </target> 194 <target name="distmac7" depends="dist"> 195 <antcall target="mac7"> 196 <param name="bundle.outdir" value="dist"/> 197 <param name="bundle.jar" value="dist/josm-custom.jar"/> 198 </antcall> 193 199 </target> 194 200 <target name="javacc" depends="init" unless="javacc.notRequired">
Note:
See TracChangeset
for help on using the changeset viewer.