[28592] | 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 -->
|
---|
[30416] | 6 | <property name="plugin.main.version" value="7001"/>
|
---|
[30734] | 7 |
|
---|
[28995] | 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="..."/>-->
|
---|
[29025] | 13 | <!--<property name="plugin.early" value="..."/>-->
|
---|
[28995] | 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"/>
|
---|
[30734] | 19 |
|
---|
[28592] | 20 | <!--
|
---|
| 21 | **********************************************************
|
---|
[29013] | 22 | ** post-dist - replaces files from the generated jar
|
---|
[28592] | 23 | **********************************************************
|
---|
| 24 | -->
|
---|
[29007] | 25 | <target name="post-dist">
|
---|
[30734] | 26 | <move file="${plugin.jar}" todir="${plugin.build.dir}" />
|
---|
| 27 | <jar destfile="${plugin.jar}" filesetmanifest="merge">
|
---|
[29013] | 28 | <fileset dir="jar"/>
|
---|
[30734] | 29 | <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
|
---|
[29007] | 30 | <exclude name="*.class"/>
|
---|
[30734] | 31 | <exclude name="*.html"/>
|
---|
[29013] | 32 | <exclude name="META-INF/**/*"/>
|
---|
[29007] | 33 | <exclude name="javax/*.txt"/>
|
---|
[30734] | 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" />
|
---|
[29007] | 41 | </target>
|
---|
[28592] | 42 | </project>
|
---|