source: osm/utils/josm/plugins/osmarender/build.xml@ 1443

Last change on this file since 1443 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.2 KB
Line 
1<project name="osmarender" default="build" basedir=".">
2
3 <property name="josm" location="../../../../editors/josm/dist/josm-custom.jar" />
4 <property name="osmarender" location="../../../osmarender" />
5 <property name="target" location="dist/osmarender.jar" />
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" debug="true" classpath="${josm}" destdir="build">
16 <include name="**/*.java" />
17 </javac>
18 </target>
19
20 <target name="build" depends="compile">
21 <copy todir="build">
22 <fileset dir="${osmarender}">
23 <include name="osmarender.xsl"/>
24 <include name="osm-map-features.xml"/>
25 </fileset>
26 </copy>
27 <jar destfile="${target}" basedir="build">
28 <manifest>
29 <attribute name="Plugin-Class" value="OsmarenderPlugin" />
30 <attribute name="Plugin-Description" value="Launches FireFox to display the current visible screen as a nice SVG image" />
31 </manifest>
32 </jar>
33 </target>
34
35 <target name="clean">
36 <delete dir="build" />
37 <delete dir="dist" />
38 </target>
39
40 <target name="install" depends="build">
41 <copy file="${target}" todir="${user.home}/.josm/plugins"/>
42 </target>
43
44</project>
Note: See TracBrowser for help on using the repository browser.