Ignore:
Timestamp:
2012-11-27T18:03:07+01:00 (13 years ago)
Author:
donvip
Message:

[josm_pbf] Simplify build.xml (but keep custom compile behaviour)

File:
1 edited

Legend:

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

    r28807 r28997  
    3535    <property name="plugin.main.version" value="4687"/>
    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="Don-vip"/>
     41    <property name="plugin.class" value="org.openstreetmap.josm.plugins.pbf.PbfPlugin"/>
     42    <property name="plugin.description" value="Import OSM data in PBF format"/>
     43    <!--<property name="plugin.icon" value="images/pbf_24.png"/>-->
     44    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/PBF"/>
     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 
     
    5664        </javac>
    5765    </target>
    58     <!--
    59     **********************************************************
    60     ** dist - creates the plugin jar
    61     **********************************************************
    62     -->
    63     <target name="dist" depends="compile,revision">
    64         <echo message="creating ${ant.project.name}.jar ... "/>
    65         <copy todir="${plugin.build.dir}/resources">
    66             <fileset dir="resources"/>
    67         </copy>
    68         <copy todir="${plugin.build.dir}/images">
    69             <fileset dir="images"/>
    70         </copy>
    71         <copy todir="${plugin.build.dir}/data">
    72             <fileset dir="data"/>
    73         </copy>
    74         <copy todir="${plugin.build.dir}">
    75             <fileset dir=".">
    76                 <include name="README"/>
    77                 <include name="gpl-3.0.txt"/>
    78             </fileset>
    79         </copy>
    80         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    81             <!--
    82             ************************************************
    83             ** configure these properties. Most of them will be copied to the plugins
    84             ** manifest file. Property values will also show up in the list available
    85             ** plugins: http://josm.openstreetmap.de/wiki/Plugins.
    86             **
    87             ************************************************
    88             -->
    89             <manifest>
    90                 <attribute name="Author" value="Don-vip"/>
    91                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.pbf.PbfPlugin"/>
    92                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    93                 <attribute name="Plugin-Description" value="Import OSM data in PBF format"/>
    94                 <attribute name="Plugin-Early" value="false"/>
    95                 <!--<attribute name="Plugin-Icon" value="images/pbf_24.png"/>-->
    96                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/PBF"/>
    97                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    98                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    99             </manifest>
    100         </jar>
    101     </target>
     66       
    10267</project>
Note: See TracChangeset for help on using the changeset viewer.