Ignore:
Timestamp:
2012-12-01T22:39:56+01:00 (12 years ago)
Author:
donvip
Message:

[josm_geotools] Simplify build.xml further

Location:
applications/editors/josm/plugins/geotools
Files:
1 added
1 edited
1 moved

Legend:

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

    r29007 r29013  
    2020    <!--
    2121    **********************************************************
    22     ** setup-dist - copies files for distribution
    23     **********************************************************
    24     -->
    25     <target name="setup-dist">
    26         <copy todir="${plugin.build.dir}/META-INF">
    27             <fileset dir="META-INF"/>
    28         </copy>
    29         <antcall target="setup-dist-default" />
    30     </target>
    31        
    32     <!--
    33     **********************************************************
    34     ** post-dist - removes files from the generated jar
     22    ** post-dist - replaces files from the generated jar
    3523    **********************************************************
    3624    -->
     
    3826        <move file="${plugin.jar}" todir="${plugin.build.dir}" />
    3927        <jar destfile="${plugin.jar}">
     28            <fileset dir="jar"/>
    4029                <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
    4130                <exclude name="*.class"/>
    4231                        <exclude name="*.html"/>
    43                 <exclude name="META-INF/*.txt"/>
    44                 <exclude name="META-INF/*.xml"/>
    45                 <exclude name="META-INF/maven/**/*" />
     32                <exclude name="META-INF/**/*"/>
    4633                <exclude name="javax/*.txt"/>
    4734                </zipfileset>
     35            <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar" includes="META-INF/*.jai" />
    4836        </jar>
    4937        <delete file="${plugin.build.dir}/${ant.project.name}.jar" />
Note: See TracChangeset for help on using the changeset viewer.