Changeset 20482 in osm for applications/editors


Ignore:
Timestamp:
2010-03-14T21:29:25+01:00 (14 years ago)
Author:
skela
Message:

'Initial release of the Way Selector plugin'

Location:
applications/editors/josm/plugins/wayselector
Files:
8 added
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wayselector/README

    r20480 r20482  
    1 README 
     1README
    22======
    33
    4 Readme for your plugin
     4The way selector plugin allows easy selection of sequential ways that
     5have been divided into segments.
     6
     7Created by Marko Mäkelä for selecting the mainland natural=coastline
     8within an area without selecting any islands.  Thanks to Harry Wood
     9for the way downloader plugin, which was a useful resource for learning.
     10
     11Usage: Select one or more ways and activate the plugin from the Tools
     12menu or by the keyboard shortcut.  The selection of each selected way
     13will be extended until the non-branching sequence of ways ends.  You
     14may select one or more ways at the branches and activate the plugin
     15again, until you have selected all the desired ways.
     16
     17When this plugin is activated, the selection may include other
     18primitives than ways.  This plugin only operates on the selected ways.
  • applications/editors/josm/plugins/wayselector/build.xml

    r20480 r20482  
    2828**
    2929-->
    30 <project name="myPluginName" default="dist" basedir=".">
     30<project name="wayselector" default="dist" basedir=".">
    3131
    3232        <!-- enter the SVN commit message -->
    33         <property name="commit.message" value="Commit message" />
     33        <property name="commit.message" value="Initial release of the Way Selector plugin" />
    3434        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35         <property name="plugin.main.version" value="" />
     35        <property name="plugin.main.version" value="3095" />
    3636
    3737
     
    6060        <!--
    6161    **********************************************************
    62     ** compile - complies the source tree
     62    ** compile - compiles the source tree
    6363    **********************************************************
    6464    -->
    6565        <target name="compile" depends="init">
    6666                <echo message="compiling sources for  ${plugin.jar} ... "/>
    67                 <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}">
     67                <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeantruntime="false">
    6868                        <compilerarg value="-Xlint:deprecation"/>
    6969                        <compilerarg value="-Xlint:unchecked"/>
     
    100100    -->
    101101                        <manifest>
    102                                 <attribute name="Author" value="..."/>
    103                                 <attribute name="Plugin-Class" value="..."/>
     102                                <attribute name="Author" value="Marko Mäkelä"/>
     103                                <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.wayselector.WaySelectorPlugin"/>
    104104                                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    105                                 <attribute name="Plugin-Description" value="..."/>
    106                                 <attribute name="Plugin-Link" value="..."/>
     105                                <attribute name="Plugin-Description" value="Select a sequence of non-branching connected ways"/>
     106                                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WaySelectorPlugin"/>
    107107                                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    108108                                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     
    157157
    158158        <!--
    159         ************************** Publishing the plugin *********************************** 
     159        ************************** Publishing the plugin ***********************************
    160160        -->
    161161        <!--
    162                 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 
     162                ** extracts the JOSM release for the JOSM version in ../core and saves it in the
    163163                ** property ${coreversion.info.entry.revision}
    164164                **
     
    209209
    210210        <!--
    211                 ** commits the plugin.jar 
     211                ** commits the plugin.jar
    212212                -->
    213213        <target name="commit-dist">
    214214                <echo>
    215215        ***** Properties of published ${plugin.jar} *****
    216         Commit message    : '${commit.message}'                                 
     216        Commit message    : '${commit.message}'
    217217        Plugin-Mainversion: ${plugin.main.version}
    218218        JOSM build version: ${coreversion.info.entry.revision}
    219219        Plugin-Version    : ${version.entry.commit.revision}
    220         ***** / Properties of published ${plugin.jar} *****                                     
    221                                                
     220        ***** / Properties of published ${plugin.jar} *****
     221
    222222        Now commiting ${plugin.jar} ...
    223223        </echo>
    224                 <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
     224                <exec append="true" output="svn.log" executable="svn" failifexecutionfails="true" failonerror="true">
    225225                        <env key="LANG" value="C"/>
    226226                        <arg value="-m '${commit.message}'"/>
Note: See TracChangeset for help on using the changeset viewer.