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

Last change on this file since 29005 was 29005, checked in by stoecker, 12 years ago

improve build to allow custom dist setup

File size: 1.9 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="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 <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 <copy todir="${plugin.build.dir}/META-INF">
37 <fileset dir="resources/META-INF"/>
38 </copy>
39 <antcall target="setup-dist-default" />
40 </target>
41</project>
Note: See TracBrowser for help on using the repository browser.