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

Last change on this file since 32430 was 31774, checked in by donvip, 9 years ago

[josm_geotools] update to GeoTools 14.1

  • Property svn:mime-type set to text/xml
File size: 3.1 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.canloadatruntime" value="true"/>
13 <property name="plugin.requires" value="jts;ejml"/>
14 <property name="plugin.stage" value="20"/>
15
16 <!-- ** include targets that all plugins have in common ** -->
17 <import file="../build-common.xml"/>
18
19 <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
20 <include name="jts.jar"/>
21 <include name="ejml.jar"/>
22 </fileset>
23
24 <!--
25 **********************************************************
26 ** post-dist - replaces files from the generated jar
27 **********************************************************
28 -->
29 <target name="post-dist">
30 <move file="${plugin.jar}" todir="${plugin.build.dir}" />
31 <jar destfile="${plugin.jar}" filesetmanifest="merge" manifestencoding="UTF-8">
32 <fileset dir="jar"/>
33 <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
34 <exclude name="*.class"/>
35 <exclude name="*.html"/>
36 <exclude name="META-INF/**/*"/>
37 <exclude name="javax/*.txt"/>
38 </zipfileset>
39 <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
40 <include name="META-INF/MANIFEST.MF"/>
41 <include name="META-INF/javax.media.jai.registryFile.jai"/>
42 </zipfileset>
43 </jar>
44 <delete file="${plugin.build.dir}/${ant.project.name}.jar" />
45 </target>
46
47 <!--
48 **********************************************************
49 ** additional-manifest - add additional manifest entries
50 **********************************************************
51 -->
52 <target name="additional-manifest">
53 <manifest file="MANIFEST" mode="update">
54 <!-- JAI requires a vendor name for some of its deep internals,
55 see http://stackoverflow.com/a/18495658/2257172 -->
56 <attribute name="Specification-Title" value="JOSM GeoTools plugin"/>
57 <attribute name="Specification-Version" value="14.1"/>
58 <attribute name="Specification-Vendor" value="JOSM developers" />
59 <attribute name="Implementation-Title" value="org.openstreetmap.josm.plugins.geotools" />
60 <attribute name="Implementation-Version" value="14.1" />
61 <attribute name="Implementation-Vendor" value="JOSM developers"/>
62 </manifest>
63 </target>
64</project>
Note: See TracBrowser for help on using the repository browser.