Last change
on this file since 1436 was 1436, checked in by imi, 18 years ago |
added JOSM-plugins mappaint and landsat from NickW
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1436] | 1 | <project name="landsat" default="build" basedir=".">
|
---|
| 2 |
|
---|
| 3 | <!-- point to your JOSM directory -->
|
---|
| 4 | <property name="josm" location="../josm/bin" />
|
---|
| 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<br>a WMS Server, e.g. the Landsat pictures. Beware, that these<br>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.