Changeset 29007 in osm for applications/editors/josm/plugins/geotools/build.xml
- Timestamp:
- 2012-11-27T22:37:57+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/geotools/build.xml
r29005 r29007 24 24 --> 25 25 <target name="setup-dist"> 26 <unjar dest="${plugin.build.dir}">27 <fileset dir="lib" includes="*.jar" />28 </unjar>29 <delete includeemptydirs="true">30 <fileset dir="${plugin.build.dir}" >31 <include name="*.class" />32 <include name="*.html" />33 </fileset>34 <fileset dir="${plugin.build.dir}/META-INF" includes="**/*" excludes="**/*.jai" />35 </delete>36 26 <copy todir="${plugin.build.dir}/META-INF"> 37 <fileset dir=" resources/META-INF"/>27 <fileset dir="META-INF"/> 38 28 </copy> 39 29 <antcall target="setup-dist-default" /> 40 30 </target> 31 32 <!-- 33 ********************************************************** 34 ** post-dist - removes files from the generated jar 35 ********************************************************** 36 --> 37 <target name="post-dist"> 38 <move file="${plugin.jar}" todir="${plugin.build.dir}" /> 39 <jar destfile="${plugin.jar}"> 40 <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar"> 41 <exclude name="*.class"/> 42 <exclude name="*.html"/> 43 <exclude name="META-INF/*.txt"/> 44 <exclude name="META-INF/*.xml"/> 45 <exclude name="META-INF/maven/**/*" /> 46 <exclude name="javax/*.txt"/> 47 </zipfileset> 48 </jar> 49 <delete file="${plugin.build.dir}/${ant.project.name}.jar" /> 50 </target> 41 51 </project>
Note:
See TracChangeset
for help on using the changeset viewer.