Ignore:
Timestamp:
2012-11-18T04:04:11+01:00 (12 years ago)
Author:
donvip
Message:

[josm_geotools] fix services configuration and plugin-stage

File:
1 edited

Legend:

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

    r28595 r28946  
    7676    <target name="dist" depends="compile,revision">
    7777        <echo message="creating ${ant.project.name}.jar ... "/>
     78        <unjar dest="${plugin.build.dir}">
     79            <fileset dir="lib" includes="*.jar" />
     80        </unjar>
     81        <delete includeemptydirs="true">
     82                <fileset dir="${plugin.build.dir}" >
     83                        <include name="*.class" />
     84                <include name="*.html" />
     85                </fileset>
     86            <fileset dir="${plugin.build.dir}/META-INF" includes="**/*" excludes="**/*.jai" />
     87        </delete>
     88        <copy todir="${plugin.build.dir}/META-INF">
     89            <fileset dir="resources/META-INF"/>
     90        </copy>
    7891        <copy todir="${plugin.build.dir}/images">
    7992            <fileset dir="images"/>
     
    8598            </fileset>
    8699        </copy>
    87         <unjar dest="${plugin.build.dir}">
    88             <fileset dir="lib" includes="*.jar" />
    89         </unjar>
    90100        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    91101            <!--
     
    106116                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    107117                <attribute name="Plugin-Requires" value="jts"/>
     118                <attribute name="Plugin-Stage" value="20"/>
    108119                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    109120            </manifest>
Note: See TracChangeset for help on using the changeset viewer.