Ignore:
Timestamp:
2013-03-07T22:10:13+01:00 (13 years ago)
Author:
stoecker
Message:

fix deprecations, cleanup some more build.xml's

File:
1 edited

Legend:

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

    r29241 r29351  
    55** Maintaining versions
    66** ====================
    7 ** see README.template
     7** See README.template
    88**
    99** Usage
    1010** =====
    11 ** To build it run
    12 **
    13 **    > ant  dist
    14 **
    15 ** To install the generated plugin locally (in you default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration
    20 ** dialog. You have to check it in first.
    21 **
    22 ** Use the ant target 'publish' to check in the plugin and make it available to other
    23 ** JOSM users:
    24 **    set the properties commit.message and plugin.main.version
    25 ** and run
    26 **    > ant  publish
    27 **
     11** Call "ant help" to get possible build targets.
    2812**
    2913-->
     
    3519    <property name="plugin.main.version" value="4980"/>
    3620
    37     <!--
    38     **********************************************************
    39     ** include targets that all plugins have in common
    40     **********************************************************
    41     -->
     21    <property name="plugin.author" value="Kalle Lampila, Upliner, and others"/>
     22    <property name="plugin.class" value="org.openstreetmap.josm.plugins.utilsplugin2.UtilsPlugin2"/>
     23    <property name="plugin.description" value="Several utilities that make your life easier."/>
     24    <property name="plugin.icon" value="images/utils.png"/>
     25    <property name="plugin.link" value="http://josm.openstreetmap.de/wiki/Help/Plugin/UtilsPlugin2"/>
     26
     27    <!-- ** include targets that all plugins have in common ** -->
    4228    <import file="../build-common.xml"/>
    4329
    44     <!--
    45     **********************************************************
    46     ** dist - creates the plugin jar
    47     **********************************************************
    48     -->
    49     <target name="dist" depends="compile,revision">
    50         <echo message="creating ${ant.project.name}.jar ... "/>
    51         <copy todir="${plugin.build.dir}/images">
    52             <fileset dir="images"/>
    53         </copy>
    54         <copy todir="${plugin.build.dir}/data">
    55             <fileset dir="data"/>
    56         </copy>
    57         <copy todir="${plugin.build.dir}">
    58             <fileset dir=".">
    59                 <include name="README"/>
    60                 <include name="LICENSE"/>
    61                 <include name="GPL-v2.0.txt"/>
    62                 <include name="GPL-v3.0.txt"/>
    63             </fileset>
    64         </copy>
    65         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    66         <!--
    67         ************************************************
    68         ** configure these properties. Most of them will be copied to the plugins
    69         ** manifest file. Property values will also show up in the list available
    70         ** plugins: http://josm.openstreetmap.de/wiki/Plugins.
    71         **
    72         ************************************************
    73         -->
    74             <manifest>
    75                 <attribute name="Author" value="Kalle Lampila, Upliner, and others"/>
    76                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.utilsplugin2.UtilsPlugin2"/>
    77                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    78                 <attribute name="Plugin-Description" value="Several utilities that make your life easier."/>
    79                 <attribute name="Plugin-Icon" value="images/utils.png"/>
    80                 <attribute name="Plugin-Link" value="http://josm.openstreetmap.de/wiki/Help/Plugin/UtilsPlugin2"/>
    81                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    82                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    83             </manifest>
    84         </jar>
    85     </target>
    8630</project>
Note: See TracChangeset for help on using the changeset viewer.