Ignore:
Timestamp:
2019-06-23T04:58:53+02:00 (5 years ago)
Author:
donvip
Message:

see #josm17835 - fix plugin build files

File:
1 edited

Legend:

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

    r34528 r35039  
    66    <property name="apidoc.dir" value="doc"/>
    77
     8    <property name="plugin.author" value="Beata Jancso"/>
     9    <property name="plugin.class" value="org.openstreetmap.josm.plugins.mapdust.MapdustPlugin"/>
     10    <property name="plugin.description" value="The MapDust Plug-In shows the MapDust bug reports on the map. You can create, close,invalidate, re-open and comment bug reports by using this plugin."/>
     11    <property name="plugin.icon" value="images/dialogs/mapdust_icon25.png"/>
     12    <property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/MapDust"/>
     13    <property name="plugin.requires" value="gson"/>
     14
    815    <!--
    916    **********************************************************
     
    1219    -->
    1320    <import file="../build-common.xml"/>
    14  
     21
    1522    <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
    1623        <include name="gson.jar"/>
     
    2330    </target>
    2431
    25     <!-- creates the .jar file of the plugin -->
    26     <target name="dist" depends="compile,revision">
    27         <echo message="creating ${ant.project.name}.jar ... "/>
     32    <target name="setup-dist">
     33        <antcall target="setup-dist-default" />
    2834        <copy todir="${plugin.build.dir}">
    2935            <fileset dir="conf"/>
    3036        </copy>
    31         <copy todir="${plugin.build.dir}/images">
    32             <fileset dir="images"/>
    33         </copy>
    34         <copy todir="${plugin.build.dir}/data">
    35             <fileset dir="data"/>
    36         </copy>
    37         <copy todir="${plugin.build.dir}">
    38             <fileset dir=".">
    39                 <include name="README"/>
    40                 <include name="LICENSE"/>
    41             </fileset>
    42         </copy>
    43         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
    44             <manifest>
    45                 <attribute name="Author" value="Beata Jancso"/>
    46                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.mapdust.MapdustPlugin"/>
    47                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    48                 <attribute name="Plugin-Description" value="The MapDust Plug-In shows the MapDust bug reports on the map. You can create, close,invalidate, re-open and comment bug reports by using this plugin."/>
    49                 <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/MapDust"/>
    50                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    51                 <attribute name="Plugin-Requires" value="gson"/>
    52                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    53                 <attribute name="Plugin-Icon" value="images/dialogs/mapdust_icon25.png"/>
    54             </manifest>
    55         </jar>
    5637    </target>
     38
    5739</project>
Note: See TracChangeset for help on using the changeset viewer.