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="5236"/>
|
---|
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="true"/>
|
---|
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 | ** 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
|
---|
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>
|
---|
51 | </project>
|
---|