source: subversion/applications/editors/josm/plugins/osmarender/build.xml @ 4972

Last change on this file since 4972 was 4972, checked in by gabriel, 12 years ago

Make 0.5 compatible.
The osmarender output looks kinda strange, and <bounds> is not implemented.
Maybe someone who knows osmarender better can fix this.

File size: 1.0 KB
Line 
1<project name="osmarender" default="install" basedir=".">
2
3        <property name="josm" location="../../core/dist/josm-custom.jar" />
4        <property name="rendering" location="../../../../rendering" />
5
6        <target name="compile">
7                <mkdir dir="bin"></mkdir>
8                <mkdir dir="dist"></mkdir>
9                <javac srcdir="src" debug="true" classpath="${josm}" destdir="bin">
10                        <include name="**/*.java" />
11                </javac>
12        </target>
13
14        <target name="build"  depends="compile">
15                <copy todir="bin" file="${rendering}/osmarender6/osmarender.xsl"/>
16                <copy tofile="bin/osm-map-features.xml"
17                        file="${rendering}/osmarender5/osm-map-features-z17.xml"/>
18                <jar destfile="dist/osmarender.jar" basedir="bin">
19                        <manifest>
20                                <attribute name="Plugin-Class" value="OsmarenderPlugin" />
21                                <attribute name="Plugin-Description" value="Launches FireFox to display the current visible screen as a nice SVG image" />
22                        </manifest>
23                </jar>
24        </target>
25
26        <target name="clean">
27                <delete dir="bin" />
28                <delete dir="dist" />
29        </target>
30
31        <target name="install" depends="compile,build" />
32
33</project>
Note: See TracBrowser for help on using the repository browser.