1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <project name="no_more_mapping" 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 | <!--
|
---|
10 | **********************************************************
|
---|
11 | ** include targets that all plugins have in common
|
---|
12 | **********************************************************
|
---|
13 | -->
|
---|
14 | <import file="../build-common.xml"/>
|
---|
15 |
|
---|
16 | <!--
|
---|
17 | **********************************************************
|
---|
18 | ** dist - creates the plugin jar
|
---|
19 | **********************************************************
|
---|
20 | -->
|
---|
21 | <target name="dist" depends="compile,revision">
|
---|
22 | <echo message="creating ${ant.project.name}.jar ... "/>
|
---|
23 | <copy todir="${plugin.build.dir}/resources">
|
---|
24 | <fileset dir="resources"/>
|
---|
25 | </copy>
|
---|
26 | <copy todir="${plugin.build.dir}/images">
|
---|
27 | <fileset dir="images"/>
|
---|
28 | </copy>
|
---|
29 | <copy todir="${plugin.build.dir}/data">
|
---|
30 | <fileset dir="data"/>
|
---|
31 | </copy>
|
---|
32 | <copy todir="${plugin.build.dir}">
|
---|
33 | <fileset dir=".">
|
---|
34 | <include name="README"/>
|
---|
35 | <include name="gpl-3.0.txt"/>
|
---|
36 | </fileset>
|
---|
37 | </copy>
|
---|
38 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
|
---|
39 | <!--
|
---|
40 | ************************************************
|
---|
41 | ** configure these properties. Most of them will be copied to the plugins
|
---|
42 | ** manifest file. Property values will also show up in the list available
|
---|
43 | ** plugins: https://josm.openstreetmap.de/wiki/Plugins.
|
---|
44 | **
|
---|
45 | ************************************************
|
---|
46 | -->
|
---|
47 | <manifest>
|
---|
48 | <attribute name="Author" value="Zverik"/>
|
---|
49 | <attribute name="Plugin-Class" value="nomore.NoMorePlugin"/>
|
---|
50 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
51 | <attribute name="Plugin-Description" value="Disallow using JOSM forever (WARNING: this plugin prevents JOSM from loading and is hard to rid of)"/>
|
---|
52 | <attribute name="ru_Plugin-Description" value="Запретить JOSM навсегда (ВНИМАНИЕ: этот модуль не даёт JOSM загрузиться, и его сложно отключить)"/>
|
---|
53 | <attribute name="Plugin-Icon" value="images/nomore.png"/>
|
---|
54 | <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
|
---|
55 | <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
|
---|
56 | </manifest>
|
---|
57 | </jar>
|
---|
58 | </target>
|
---|
59 | </project>
|
---|