Changes between Version 49 and Version 50 of DevelopersGuide/DevelopingPlugins


Ignore:
Timestamp:
2011-01-11T00:27:33+01:00 (14 years ago)
Author:
kryskow
Comment:

changed java compatibility from 5 to 6

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/DevelopingPlugins

    v49 v50  
    1515 * Open the ant script ({{{build.xml}}}) in your plugin directory and configure the properties in the configuration section.  The important thing of your build script is, that it places some attributes into the {{{MANIFEST.MF}}} of the jar file. See below. {{{build.xml}}} in the template directory takes care of this.
    1616 * [http://svn.openstreetmap.org/applications/editors/josm/plugins/00_plugin_dir_template/README.template This readme] explains how your plugin is built and made available to other JOSM users.
    17  * Also note, that JOSM is compiled into Java5 compatible class files, so if you are using Java6 or Java7, specify "-target 1.5" as parameter to javac or your plugin will not be usable with the official josm builds.
     17 * Also note, that JOSM is compiled into Java6 compatible class files, so if you are using Java7, specify "-target 1.6" as parameter to javac or your plugin will not be usable with the official josm builds.
    1818 * If you need other OSM resources you can check out the complete osm - trunk: {{{svn co http://svn.openstreetmap.org/}}}
    1919