1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <project name="osmarender" default="install" basedir=".">
|
---|
3 |
|
---|
4 | <!-- enter the SVN commit message -->
|
---|
5 | <property name="commit.message" value="Fixed #4360 - osmarender plugin does not load"/>
|
---|
6 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
7 | <property name="plugin.main.version" value="7001"/>
|
---|
8 |
|
---|
9 | <property name="stylesheets" location="./stylesheets"/>
|
---|
10 | <property name="xslt" location="./xslt"/>
|
---|
11 |
|
---|
12 | <property name="plugin.author" value="80n"/>
|
---|
13 | <property name="plugin.class" value="org.openstreetmap.josm.plugins.osmarender.OsmarenderPlugin"/>
|
---|
14 | <property name="plugin.description" value="Launches FireFox to display the current visible screen as a nice SVG image."/>
|
---|
15 |
|
---|
16 | <!-- ** include targets that all plugins have in common ** -->
|
---|
17 | <import file="../build-common.xml"/>
|
---|
18 |
|
---|
19 | <target name="setup-dist">
|
---|
20 | <antcall target="setup-dist-default" />
|
---|
21 | <copy todir="${plugin.build.dir}" file="${xslt}/osmarender.xsl"/>
|
---|
22 | <copy tofile="${plugin.build.dir}/osm-map-features.xml" file="${stylesheets}/osm-map-features-z17.xml"/>
|
---|
23 | </target>
|
---|
24 |
|
---|
25 | <target name="revision">
|
---|
26 | <exec append="false" output="REVISION" executable="perl" failifexecutionfails="false">
|
---|
27 | <env key="LANG" value="C"/>
|
---|
28 | <arg value="../getrevision.pl"/>
|
---|
29 | <arg value="xslt"/>
|
---|
30 | <arg value="stylesheets"/>
|
---|
31 | <arg value="."/>
|
---|
32 | </exec>
|
---|
33 | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
|
---|
34 | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="true" failonerror="true">
|
---|
35 | <env key="LANG" value="C"/>
|
---|
36 | <arg value="info"/>
|
---|
37 | <arg value="--xml"/>
|
---|
38 | <arg value="."/>
|
---|
39 | </exec>
|
---|
40 | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
|
---|
41 | <echo message="Revision is ${version.entry.commit.revision}"/>
|
---|
42 | <delete file="REVISION"/>
|
---|
43 | </target>
|
---|
44 |
|
---|
45 | </project>
|
---|