Last change
on this file since 2397 was 2125, checked in by enxrah, 18 years ago |
srtm2osm a little utility to create contour lines in OSM format
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1436] | 1 | <project name="landsat" default="build" basedir=".">
|
---|
| 2 |
|
---|
| 3 | <!-- point to your JOSM directory -->
|
---|
[2125] | 4 | <property name="josm" location="../../../../editors/josm/dist/josm-custom.jar"
|
---|
| 5 | />
|
---|
[1436] | 6 |
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 | <target name="init">
|
---|
| 10 | <mkdir dir="build"></mkdir>
|
---|
| 11 | <mkdir dir="dist"></mkdir>
|
---|
| 12 | </target>
|
---|
| 13 |
|
---|
| 14 | <target name="compile" depends="init">
|
---|
| 15 | <javac srcdir="src" classpath="${josm}" debug="true" destdir="build">
|
---|
| 16 | <include name="**/*.java" />
|
---|
| 17 | </javac>
|
---|
| 18 | </target>
|
---|
| 19 |
|
---|
| 20 | <target name="build" depends="compile">
|
---|
| 21 | <copy todir="build/images" >
|
---|
| 22 | <fileset dir="images" />
|
---|
| 23 | </copy>
|
---|
| 24 | <jar destfile="dist/landsat.jar" basedir="build">
|
---|
| 25 | <manifest>
|
---|
| 26 | <attribute name="Plugin-Class" value="landsat.LandsatPlugin" />
|
---|
| 27 | <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" />
|
---|
| 28 | </manifest>
|
---|
| 29 | </jar>
|
---|
| 30 | </target>
|
---|
| 31 |
|
---|
| 32 | <target name="clean">
|
---|
| 33 | <delete dir="build" />
|
---|
| 34 | <delete dir="dist" />
|
---|
| 35 | </target>
|
---|
| 36 |
|
---|
| 37 | <target name="install" depends="build">
|
---|
| 38 | <copy file="dist/landsat.jar" todir="${user.home}/.josm/plugins"/>
|
---|
| 39 | </target>
|
---|
| 40 |
|
---|
| 41 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.