Ignore:
Timestamp:
2008-12-25T14:25:37+01:00 (16 years ago)
Author:
stoecker
Message:

updated

Location:
applications/editors/josm/plugins/waypoints
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/waypoints/build.xml

    r7287 r12575  
    2525    <echo message="creating ${plugin.jar}"/>
    2626    <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
     27      <compilerarg value="-Xlint:deprecation"/>
    2728      <include name="**/*.java" />
    2829    </javac>
     
    3031
    3132  <target name="dist" depends="compile">
    32     <!--
    33         <copy todir="build/images">
    34           <fileset dir="images"></fileset>
    35         </copy>
    36         -->
    37     <jar destfile="dist/waypoints.jar" basedir="build">
     33    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     34      <env key="LANG" value="C"/>
     35      <arg value="info"/>
     36      <arg value="--xml"/>
     37      <arg value="."/>
     38    </exec>
     39    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     40    <delete file="REVISION"/>
     41    <jar destfile="${plugin.jar}" basedir="build">
    3842      <manifest>
    3943        <attribute name="Plugin-Class" value="waypoints.WaypointPlugin" />
    4044        <attribute name="Plugin-Description" value="Automatic conversion of waypoints in a GPX file to OSM nodes." />
     45        <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     46        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
     47        <attribute name="Plugin-Mainversion" value="1153" />
    4148      </manifest>
    4249    </jar>
  • applications/editors/josm/plugins/waypoints/src/WaypointOpenAction.java

    r9949 r12575  
    2121import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    2222import org.openstreetmap.josm.actions.DiskAccessAction;
     23import org.openstreetmap.josm.tools.Shortcut;
    2324import org.xml.sax.SAXException;
    2425
     
    3334         */
    3435        public WaypointOpenAction() {
    35                 super(tr("Open waypoints file"), "open", tr("Open a waypoints file."),
    36                                                 KeyEvent.VK_W, InputEvent.CTRL_DOWN_MASK);
     36                super(tr("Open waypoints file"), "open", tr("Open a waypoints file."),
     37                Shortcut.registerShortcut("tools:waypoints", tr("Menu: {0}",
     38                tr("Open waypoints file")), KeyEvent.VK_W, Shortcut.GROUP_MENU, Shortcut.SHIFT_DEFAULT));
    3739        }
    3840
Note: See TracChangeset for help on using the changeset viewer.