Ignore:
Timestamp:
2012-11-27T16:56:18+01:00 (12 years ago)
Author:
simon04
Message:

fix #josm8222 - Update plugin build system

File:
1 edited

Legend:

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

    r28807 r28990  
    3535    <property name="plugin.main.version" value="4394"/>
    3636
    37     <!--
    38     **********************************************************
    39     ** include targets that all plugins have in common
    40     **********************************************************
     37    <!-- Configure these properties (replace "..." accordingly).
     38         See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
    4139    -->
     40    <property name="plugin.author" value="..."/>
     41    <property name="plugin.class" value="..."/>
     42    <property name="plugin.description" value="..."/>
     43    <property name="plugin.icon" value="..."/>
     44    <property name="plugin.link" value="..."/>
     45    <!--<property name="plugin.early" value="..."/>-->
     46    <!--<property name="plugin.requires" value="..."/>-->
     47    <!--<property name="plugin.stage" value="..."/>-->
     48
     49    <!-- ** include targets that all plugins have in common ** -->
    4250    <import file="../build-common.xml"/>
    4351 
    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}/resources">
    52             <fileset dir="resources"/>
    53         </copy>
    54         <copy todir="${plugin.build.dir}/images">
    55             <fileset dir="images"/>
    56         </copy>
    57         <copy todir="${plugin.build.dir}/data">
    58             <fileset dir="data"/>
    59         </copy>
    60         <copy todir="${plugin.build.dir}">
    61             <fileset dir=".">
    62                 <include name="README"/>
    63                 <include name="LICENSE"/>
    64             </fileset>
    65         </copy>
    66         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    67             <!--
    68             ************************************************
    69             ** configure these properties. Most of them will be copied to the plugins
    70             ** manifest file. Property values will also show up in the list available
    71             ** plugins: http://josm.openstreetmap.de/wiki/Plugins.
    72             **
    73             ************************************************
    74             -->
    75             <manifest>
    76                 <attribute name="Author" value="..."/>
    77                 <attribute name="Plugin-Class" value="..."/>
    78                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    79                 <attribute name="Plugin-Description" value="..."/>
    80                 <attribute name="Plugin-Icon" value="..."/>
    81                 <attribute name="Plugin-Link" value="..."/>
    82                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    83                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    84             </manifest>
    85         </jar>
    86     </target>
    8752</project>
Note: See TracChangeset for help on using the changeset viewer.