Last change
on this file since 1566 was 1438, checked in by imi, 18 years ago |
- applied patch from Robert (mappaint failing for incomplete ways as areas)
- added osmarender plugin
|
File size:
1.1 KB
|
Line | |
---|
1 | <project name="mappaint" 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}" destdir="build" debug="true">
|
---|
15 | <include name="**/*.java" />
|
---|
16 | </javac>
|
---|
17 | </target>
|
---|
18 |
|
---|
19 | <target name="build" depends="compile">
|
---|
20 | <copy todir="build/images">
|
---|
21 | <fileset dir="images"></fileset>
|
---|
22 | </copy>
|
---|
23 | <jar destfile="dist/mappaint.jar" basedir="build">
|
---|
24 | <manifest>
|
---|
25 | <attribute name="Plugin-Class" value="mappaint.MapPaintPlugin" />
|
---|
26 | <attribute name="Plugin-Description" value="An alternative render for the map with colouring, line thickness and icons.<br>You need an elemstyle.xml saved into ~/.josm/plugins/mappaint/" />
|
---|
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/mappaint.jar" todir="${user.home}/.josm/plugins"/>
|
---|
38 | </target>
|
---|
39 |
|
---|
40 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.