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

Last change on this file since 30531 was 30416, checked in by donvip, 11 years ago

[josm_plugins] switch plugins to Java 7

  • Property svn:mime-type set to text/xml
File size: 2.0 KB
RevLine 
[26174]1<?xml version="1.0" encoding="utf-8"?>
[1471]2<project name="osmarender" default="install" basedir=".">
[29351]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 -->
[30416]7 <property name="plugin.main.version" value="7001"/>
[29351]8
[26174]9 <property name="stylesheets" location="./stylesheets"/>
10 <property name="xslt" location="./xslt"/>
[29351]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" />
[26174]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>
[29351]24
[26174]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>
[18922]44
[1438]45</project>
Note: See TracBrowser for help on using the repository browser.