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

see #josm17835 - fix plugin build files

Location:
applications/editors/josm/plugins
Files:
6 edited

Legend:

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

    r34501 r35039  
    77    <property name="plugin.main.version" value="14153"/>
    88
     9    <property name="plugin.author" value="Rodion Scherbakov"/>
     10    <property name="plugin.class" value="org.openstreetmap.josm.plugins.customizepublictransportstop.CustomizePublicTransportStopPlugin"/>
     11    <property name="plugin.description" value="Customization of public public transport stops."/>
     12    <property name="plugin.icon" value="images/bus.png"/>
     13    <property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/CustomizePublicTransportStop"/>
     14
    915    <!-- ** include targets that all plugins have in common ** -->
    1016    <import file="../build-common.xml"/>
    1117
    12     <!-- creates the .jar file of the plugin -->
    13     <target name="dist" depends="compile,revision">
    14         <echo message="creating ${ant.project.name}.jar ... "/>
    15         <copy todir="${plugin.build.dir}/images">
    16             <fileset dir="images"/>
    17         </copy>
    18         <copy todir="${plugin.build.dir}/data">
    19             <fileset dir="data"/>
    20         </copy>
    21         <copy todir="${plugin.build.dir}">
    22             <fileset dir=".">
    23                 <include name="GPL-v3.0.txt" />
    24                 <include name="GPL-v2.0.txt" />
    25             </fileset>
    26         </copy>
    27         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
    28             <manifest>
    29                 <attribute name="Author" value="Rodion Scherbakov"/>
    30                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.customizepublictransportstop.CustomizePublicTransportStopPlugin"/>
    31                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    32                 <attribute name="Plugin-Description" value="Customization of public public transport stops."/>
    33                 <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/CustomizePublicTransportStop"/>
    34                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    35                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    36                 <attribute name="Plugin-Icon" value="images/bus.png"/>
    37                 <attribute name="ru_Plugin-Description" value="Настройка остановки общественного транспорта в соответствии со стандартом" />
    38             </manifest>
    39         </jar>
    40     </target>
    41 
    4218</project>
  • applications/editors/josm/plugins/editgpx

    • Property svn:ignore
      •  

        old new  
        44findbugs-josm-editgpx.xml
        55javadoc
         6bintest
  • 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>
  • applications/editors/josm/plugins/roadsigns/build.xml

    r34553 r35039  
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    66    <property name="plugin.main.version" value="14153"/>
     7
     8    <property name="plugin.author" value="Paul Hartmann"/>
     9    <property name="plugin.class" value="org.openstreetmap.josm.plugins.roadsigns.RoadSignsPlugin"/>
     10    <property name="plugin.description" value="Plugin for tagging of objects based on a selection of road signs. The dialog can be opened by clicking a small icon in the upper right corner of the properties window. Available country presets: Belgium, Germany, Poland, Slovakia, Spain."/>
     11    <property name="plugin.icon" value="images/pref/roadsigns.png"/>
     12    <property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/RoadSigns"/>
     13    <property name="plugin.canloadatruntime" value="true"/>
    714
    815    <!--
     
    1320    <import file="../build-common.xml"/>
    1421
    15     <!--
    16     **********************************************************
    17     ** dist - creates the plugin jar
    18     **********************************************************
    19     -->
    20     <target name="dist" depends="compile,revision">
    21         <echo message="creating ${ant.project.name}.jar ... "/>
    22         <copy todir="${plugin.build.dir}/images">
    23             <fileset dir="images"/>
    24         </copy>
    25         <copy todir="${plugin.build.dir}/data">
    26             <fileset dir="data"/>
    27         </copy>
    28         <copy todir="${plugin.build.dir}">
    29             <fileset dir=".">
    30                 <include name="README"/>
    31                 <include name="LICENSE"/>
    32             </fileset>
    33         </copy>
    34         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
    35             <!--
    36             ************************************************
    37             ** configure these properties. Most of them will be copied to the plugins
    38             ** manifest file. Property values will also show up in the list available
    39             ** plugins: https://josm.openstreetmap.de/wiki/Plugins.
    40             **
    41             ************************************************
    42             -->
    43             <manifest>
    44                 <attribute name="Author" value="Paul Hartmann"/>
    45                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.roadsigns.RoadSignsPlugin"/>
    46                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    47                 <attribute name="Plugin-Description" value="Plugin for tagging of objects based on a selection of road signs. The dialog can be opened by clicking a small icon in the upper right corner of the properties window. Available country presets: Belgium, Germany, Poland, Slovakia, Spain."/>
    48                 <attribute name="Plugin-Icon" value="images/pref/roadsigns.png"/>
    49                 <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/RoadSigns"/>
    50                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    51                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    52                 <attribute name="Plugin-Canloadatruntime" value="true"/>
    53             </manifest>
    54         </jar>
    55     </target>
    5622</project>
  • applications/editors/josm/plugins/routing/build.xml

    r34554 r35039  
    77    <property name="plugin.main.version" value="14153"/>
    88
     9    <property name="plugin.author" value="Jose Vidal &lt;vidalfree@gmail.com&gt;, Juangui Jordán &lt;juangui@gmail.com&gt;, Hassan S &lt;hassan.sabirin@gmail.com&gt;"/>
     10    <property name="plugin.class" value="com.innovant.josm.plugin.routing.RoutingPlugin"/>
     11    <property name="plugin.description" value="Provides routing capabilities."/>
     12    <property name="plugin.icon" value="images/preferences/routing.png"/>
     13    <property name="plugin.link" value="https://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/>
     14    <property name="plugin.requires" value="log4j"/>
     15
    916    <!--
    1017    **********************************************************
     
    1421    <import file="../build-common.xml"/>
    1522
    16     <!-- classpath -->
    17     <path id="classpath">
    18         <fileset dir="${plugin.lib.dir}" includes="**/*.jar"/>
    19         <pathelement path="${josm}"/>
    20         <fileset dir="../log4j/lib">
    21             <include name="**/*.jar"/>
    22         </fileset>
    23     </path>
    24     <!--
    25     **********************************************************
    26     ** compile - complies the source tree
    27     ** Overrides the target from build-common.xml
    28     **********************************************************
    29     -->
    30     <target name="compile" depends="init">
    31         <echo message="compiling sources for ${plugin.jar} ..."/>
    32         <javac srcdir="src" classpathref="classpath" debug="true" destdir="${plugin.build.dir}" includeantruntime="false">
    33             <compilerarg value="-Xlint:deprecation"/>
    34             <compilerarg value="-Xlint:unchecked"/>
    35         </javac>
    36     </target>
     23    <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
     24        <include name="log4j.jar"/>
     25    </fileset>
    3726
    38     <!-- Generate distribution -->
    39     <target name="dist" depends="compile,revision" description="Generate distribution">
    40         <copy todir="${plugin.build.dir}/images">
    41             <fileset dir="images"/>
    42         </copy>
    43         <copy todir="${plugin.build.dir}/data">
    44             <fileset dir="data"/>
    45         </copy>
    46         <copy todir="${plugin.build.dir}/">
     27    <target name="setup-dist">
     28        <antcall target="setup-dist-default" />
     29        <copy todir="${plugin.build.dir}">
    4730            <fileset dir="resources">
    4831                <include name="*.xml"/>
    4932            </fileset>
    5033        </copy>
    51         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
    52         <!--
    53         ************************************************
    54         ** configure these properties. Most of them will be copied to the plugins
    55         ** manifest file. Property values will also show up in the list available
    56         ** plugins: https://josm.openstreetmap.de/wiki/Plugins.
    57         **
    58         ************************************************
    59         -->
    60             <manifest>
    61                 <attribute name="Author" value="Jose Vidal &lt;vidalfree@gmail.com&gt;, Juangui Jordán &lt;juangui@gmail.com&gt;, Hassan S &lt;hassan.sabirin@gmail.com&gt;"/>
    62                 <attribute name="Plugin-Class" value="com.innovant.josm.plugin.routing.RoutingPlugin"/>
    63                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    64                 <attribute name="Plugin-Description" value="Provides routing capabilities."/>
    65                 <attribute name="Plugin-Icon" value="images/preferences/routing.png"/>
    66                 <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/>
    67                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    68                 <attribute name="Plugin-Stage" value="50"/>
    69                 <attribute name="Plugin-Requires" value="log4j"/>
    70                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    71             </manifest>
    72             <zipfileset src="${plugin.lib.dir}/jgrapht-jdk1.5.jar"/>
    73         </jar>
    7434    </target>
    7535</project>
  • applications/editors/josm/plugins/sds/build.xml

    r34470 r35039  
    77    <property name="plugin.main.version" value="14153"/>
    88
     9    <property name="plugin.author" value="Frederik Ramm"/>
     10    <property name="plugin.class" value="org.openstreetmap.hot.sds.SeparateDataStorePlugin"/>
     11    <property name="plugin.description" value="Loads data from SDS"/>
     12    <property name="plugin.icon" value="images/sds.png"/>
     13    <!--<property name="plugin.link" value=""/>-->
     14
    915    <!--
    1016    **********************************************************
     
    1420    <import file="../build-common.xml"/>
    1521
    16     <target name="dist" depends="compile,revision">
    17         <copy todir="${plugin.build.dir}/images">
    18             <fileset dir="images"/>
    19         </copy>
    20         <copy todir="${plugin.build.dir}/data">
    21             <fileset dir="data"/>
    22         </copy>
    23         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
    24             <manifest>
    25                 <attribute name="Author" value="Frederik Ramm"/>
    26                 <attribute name="Plugin-Class" value="org.openstreetmap.hot.sds.SeparateDataStorePlugin"/>
    27                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    28                 <attribute name="Plugin-Description" value="Loads data from SDS" />
    29                 <attribute name="Plugin-Icon" value="images/sds.png"/>
    30                 <!--<attribute name="Plugin-Link" value=""/>-->
    31                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    32                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    33             </manifest>
    34         </jar>
    35     </target>
    3622</project>
Note: See TracChangeset for help on using the changeset viewer.