source: osm/applications/editors/josm/plugins/osmarender/build.xml@ 29373

Last change on this file since 29373 was 29351, checked in by stoecker, 12 years ago

fix deprecations, cleanup some more build.xml's

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