Ignore:
Timestamp:
2012-11-27T20:47:41+01:00 (12 years ago)
Author:
stoecker
Message:

improve build to allow custom dist setup

File:
1 edited

Legend:

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

    r29004 r29005  
    5151    <!--
    5252    **********************************************************
    53     ** dist - creates the plugin jar
    54     **********************************************************
    55     -->
    56     <target name="dist" depends="compile,revision">
    57         <echo message="creating ${ant.project.name}.jar ... "/>
     53    ** setup-dist - copies files for distribution
     54    **********************************************************
     55    -->
     56    <target name="setup-dist-default">
    5857        <copy todir="${plugin.build.dir}/resources" failonerror="no" includeemptydirs="no">
    5958            <fileset dir="resources"/>
     
    7271            </fileset>
    7372        </copy>
     73    </target>
     74    <target name="setup-dist">
     75        <antcall target="setup-dist-default" />
     76    </target>
     77    <!--
     78    **********************************************************
     79    ** dist - creates the plugin jar
     80    **********************************************************
     81    -->
     82    <target name="dist" depends="compile,revision">
     83        <echo message="creating ${ant.project.name}.jar ... "/>
     84        <antcall target="setup-dist" />
    7485        <delete file="MANIFEST" failonerror="no"/>
    7586        <manifest file="MANIFEST" mode="update">
Note: See TracChangeset for help on using the changeset viewer.