Changeset 29007 in osm for applications
- Timestamp:
- 2012-11-27T22:37:57+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build-common.xml
r29006 r29007 73 73 </target> 74 74 <target name="setup-dist"> 75 75 <antcall target="setup-dist-default" /> 76 76 </target> 77 77 <!-- … … 82 82 <target name="dist" depends="compile,revision"> 83 83 <echo message="creating ${ant.project.name}.jar ... "/> 84 84 <antcall target="setup-dist" /> 85 85 <delete file="MANIFEST" failonerror="no"/> 86 86 <manifest file="MANIFEST" mode="update"> … … 121 121 </jar> 122 122 <delete file="MANIFEST" failonerror="no"/> 123 <antcall target="post-dist" /> 124 </target> 125 <target name="post-dist"> 126 <!-- to be overidden by plugins that need to perform additional tasks on resulting jar --> 123 127 </target> 124 128 <target name="add-manifest-attribute" depends="check-manifest-attribute" if="have-${propery.name}"> -
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.