Changeset 7287 in josm for trunk/build.xml


Ignore:
Timestamp:
2014-07-04T00:00:19+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #10025 - File registration with Mac OSX (many thanks to Stereo and cquest for their help)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r7231 r7287  
    153153            <arch name="i386"/>
    154154
    155             <bundledocument extensions="osm" icon="macosx/JOSM.app/Contents/Resources/JOSM.icns" name="OSM files" role="editor"/>
    156 
    157155            <classpath file="${bundle.jar}"/>
    158156
    159             <option value="-Xmx512m"/>
     157            <option value="-Xmx1024m"/>
    160158
    161159            <option value="-Xdock:icon=Contents/Resources/JOSM.icns"/>
     
    174172       
    175173        <xmltask source="${bundle.outdir}/JOSM.app/Contents/Info.plist" dest="${bundle.outdir}/JOSM.app/Contents/Info.plist" indent="false">
    176             <insert position="before" path="/plist/dict/key[1]"><![CDATA[<key>CFBundleAllowMixedLocalizations</key>
    177 <string>true</string>
    178 ]]></insert>
     174                <!-- remove empty CFBundleDocumentTypes definition -->
     175                <remove path="/plist/dict/key[text()='CFBundleDocumentTypes']|/plist/dict/key[text()='CFBundleDocumentTypes']/following-sibling::array[1]"/>
     176            <!-- insert our own keys -->
     177            <insert position="before" path="/plist/dict/key[1]" file="macosx/JOSM.app/Contents/Info.plist_template.xml" />
    179178        </xmltask>
    180179       
Note: See TracChangeset for help on using the changeset viewer.