1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <project name="CustomizePublicTransportStop" default="dist" basedir=".">
|
---|
3 |
|
---|
4 | <!-- enter the SVN commit message -->
|
---|
5 | <property name="commit.message" value="Commit message"/>
|
---|
6 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
7 | <property name="plugin.main.version" value="14153"/>
|
---|
8 |
|
---|
9 | <!-- ** include targets that all plugins have in common ** -->
|
---|
10 | <import file="../build-common.xml"/>
|
---|
11 |
|
---|
12 | <!-- creates the .jar file of the plugin -->
|
---|
13 | <target name="dist" depends="compile,revision">
|
---|
14 | <echo message="creating ${ant.project.name}.jar ... "/>
|
---|
15 | <copy todir="${plugin.build.dir}/images">
|
---|
16 | <fileset dir="images"/>
|
---|
17 | </copy>
|
---|
18 | <copy todir="${plugin.build.dir}/data">
|
---|
19 | <fileset dir="data"/>
|
---|
20 | </copy>
|
---|
21 | <copy todir="${plugin.build.dir}">
|
---|
22 | <fileset dir=".">
|
---|
23 | <include name="GPL-v3.0.txt" />
|
---|
24 | <include name="GPL-v2.0.txt" />
|
---|
25 | </fileset>
|
---|
26 | </copy>
|
---|
27 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
|
---|
28 | <manifest>
|
---|
29 | <attribute name="Author" value="Rodion Scherbakov"/>
|
---|
30 | <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.customizepublictransportstop.CustomizePublicTransportStopPlugin"/>
|
---|
31 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
32 | <attribute name="Plugin-Description" value="Customization of public public transport stops."/>
|
---|
33 | <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/CustomizePublicTransportStop"/>
|
---|
34 | <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
|
---|
35 | <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
|
---|
36 | <attribute name="Plugin-Icon" value="images/bus.png"/>
|
---|
37 | <attribute name="ru_Plugin-Description" value="Настройка остановки общественного транспорта в соответствии со стандартом" />
|
---|
38 | </manifest>
|
---|
39 | </jar>
|
---|
40 | </target>
|
---|
41 |
|
---|
42 | </project>
|
---|