source: osm/utils/josm/plugins/landsat/build.xml@ 1437

Last change on this file since 1437 was 1437, checked in by imi, 18 years ago

pointed build files to the relative position of JOSM in the OSM subversion tree

File size: 1.1 KB
Line 
1<project name="landsat" default="build" basedir=".">
2
3 <!-- point to your JOSM directory -->
4 <property name="josm" location="../../../../editors/josm/dist/josm-custom.jar" />
5
6
7
8 <target name="init">
9 <mkdir dir="build"></mkdir>
10 <mkdir dir="dist"></mkdir>
11 </target>
12
13 <target name="compile" depends="init">
14 <javac srcdir="src" classpath="${josm}" debug="true" destdir="build">
15 <include name="**/*.java" />
16 </javac>
17 </target>
18
19 <target name="build" depends="compile">
20 <copy todir="build/images" >
21 <fileset dir="images" />
22 </copy>
23 <jar destfile="dist/landsat.jar" basedir="build">
24 <manifest>
25 <attribute name="Plugin-Class" value="landsat.LandsatPlugin" />
26 <attribute name="Plugin-Description" value="Provide a background layer that displays bitmaps downloaded from&lt;br&gt;a WMS Server, e.g. the Landsat pictures. Beware, that these&lt;br&gt;bitmaps can be off by up to 150 metres" />
27 </manifest>
28 </jar>
29 </target>
30
31 <target name="clean">
32 <delete dir="build" />
33 <delete dir="dist" />
34 </target>
35
36 <target name="install" depends="build">
37 <copy file="dist/landsat.jar" todir="${user.home}/.josm/plugins"/>
38 </target>
39
40</project>
Note: See TracBrowser for help on using the repository browser.