Hi, I did some investigation on how to build the .app on the fly and discovered the following solution using ANT:
2 libs are needed: * JarBundler: http://informagen.com/JarBundler/ * Xerces: http://xerces.apache.org/xerces2-j/ JarBundler uses Xerces (the xercesImpl.jar to be precise). An ANT build target to make the job is: <target name="macapp" depends="dist"> <taskdef name="jarbundler" classpath="lib/jarbundler-1.9.jar" classname="net.sourceforge.jarbundler.JarBundler" /> <delete file="dist/JOSM"/> <jarbundler dir="dist" name="JOSM" mainclass="org.openstreetmap.josm.gui.MainApplication" jar="dist/josm-custom.jar" build="528" bundleid="org.openstreetmap.josm" developmentregion="English" icon="images/macosx/josm_icon.icns" infostring="build 528" jvmversion="1.5+" signature="josm" version="528" vmoptions="-Xmx256M"> <!--documenttype name="GPS data file" extensions="gpx" iconFile="images/macosx/josm_icon.icns" role="Editor" /--> </jarbundler> </target> The "documenttype" part links .gpx files to JOSM. But JOSM seem to miss the functionaltity for such an action (yet), clicking on a .gpx file just opens the editor but does not load the file. Anyways... something to think about as a feature ;) The .icns file can be fetched here: http://www.tillamma.de/josm/josm_icons.tar.gz It would be nice if someone can verify this so it can be included into the build process. I think some values have to be changed, too (e.g. location of the .icns file, version/infostring of JOSM, ...). Till _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
