source: osm/applications/editors/josm/plugins/geotools/build.xml@ 30569

Last change on this file since 30569 was 30416, checked in by donvip, 10 years ago

[josm_plugins] switch plugins to Java 7

  • Property svn:mime-type set to text/xml
File size: 2.0 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<project name="geotools" default="dist" basedir=".">
3 <!-- enter the SVN commit message -->
4 <property name="commit.message" value="Commit message"/>
5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
6 <property name="plugin.main.version" value="7001"/>
7
8 <property name="plugin.author" value="Don-vip"/>
9 <property name="plugin.class" value="org.openstreetmap.josm.plugins.geotools.GeoToolsPlugin"/>
10 <property name="plugin.description" value="Provides parts of the GeoTools library for other JOSM plugins. Not meant to be installed directly by users, but rather as a dependency for other plugins."/>
11 <property name="plugin.icon" value="images/compass.png"/>
12 <!--<property name="plugin.link" value="..."/>-->
13 <!--<property name="plugin.early" value="..."/>-->
14 <property name="plugin.requires" value="jts"/>
15 <property name="plugin.stage" value="20"/>
16
17 <!-- ** include targets that all plugins have in common ** -->
18 <import file="../build-common.xml"/>
19
20 <!--
21 **********************************************************
22 ** post-dist - replaces files from the generated jar
23 **********************************************************
24 -->
25 <target name="post-dist">
26 <move file="${plugin.jar}" todir="${plugin.build.dir}" />
27 <jar destfile="${plugin.jar}" filesetmanifest="merge">
28 <fileset dir="jar"/>
29 <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
30 <exclude name="*.class"/>
31 <exclude name="*.html"/>
32 <exclude name="META-INF/**/*"/>
33 <exclude name="javax/*.txt"/>
34 </zipfileset>
35 <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
36 <include name="META-INF/MANIFEST.MF"/>
37 <include name="META-INF/*.jai"/>
38 </zipfileset>
39 </jar>
40 <delete file="${plugin.build.dir}/${ant.project.name}.jar" />
41 </target>
42</project>
Note: See TracBrowser for help on using the repository browser.