diff --git a/czechaddress/build.xml b/czechaddress/build.xml
index 594d4a4..5551de0 100644
|
a
|
b
|
|
| 6 | 6 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 7 | 7 | <property name="plugin.manifest" value="${plugin.build.dir}/org/openstreetmap/josm/plugins/czechaddress/MANIFEST.MF"/> |
| 8 | 8 | <property name="ant.build.javac.target" value="1.7"/> |
| | 9 | <!-- |
| | 10 | ********************************************************** |
| | 11 | ** include targets that all plugins have in common |
| | 12 | ********************************************************** |
| | 13 | --> |
| | 14 | <import file="../build-common.xml"/> |
| 9 | 15 | <target name="clean" description="Removes all build files and the plugins's jar"> |
| 10 | 16 | <delete dir="${plugin.build.dir}"/> |
| 11 | 17 | <delete file="${plugin.jar}"/> |
| … |
… |
|
| 39 | 45 | <target name="dist" depends="compile"> |
| 40 | 46 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8" manifest="${plugin.build.dir}/org/openstreetmap/josm/plugins/czechaddress/MANIFEST.MF"/> |
| 41 | 47 | </target> |
| 42 | | <target name="revision"> |
| 43 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 44 | | <env key="LANG" value="C"/> |
| 45 | | <arg value="info"/> |
| 46 | | <arg value="--xml"/> |
| 47 | | <arg value="."/> |
| 48 | | </exec> |
| 49 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 50 | | <delete file="REVISION"/> |
| 51 | | </target> |
| 52 | 48 | <target name="install" depends="dist"> |
| 53 | 49 | <property environment="env"/> |
| 54 | 50 | <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins"> |
diff --git a/dataimport/build.xml b/dataimport/build.xml
index e83111e..f8b9de1 100644
|
a
|
b
|
|
| 18 | 18 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 19 | 19 | <!-- |
| 20 | 20 | ********************************************************** |
| | 21 | ** include targets that all plugins have in common |
| | 22 | ********************************************************** |
| | 23 | --> |
| | 24 | <import file="../build-common.xml"/> |
| | 25 | <!-- |
| | 26 | ********************************************************** |
| 21 | 27 | ** init - initializes the build |
| 22 | 28 | ********************************************************** |
| 23 | 29 | --> |
| … |
… |
|
| 36 | 42 | <compilerarg value="-Xlint:unchecked"/> |
| 37 | 43 | <classpath> |
| 38 | 44 | <pathelement location="${josm}"/> |
| 39 | | <fileset dir="lib"> |
| | 45 | <fileset dir="lib" erroronmissingdir="no"> |
| 40 | 46 | <include name="**/*.jar"/> |
| 41 | 47 | </fileset> |
| 42 | 48 | </classpath> |
| … |
… |
|
| 79 | 85 | </target> |
| 80 | 86 | <!-- |
| 81 | 87 | ********************************************************** |
| 82 | | ** revision - extracts the current revision number for the |
| 83 | | ** file build.number and stores it in the XML property |
| 84 | | ** version.* |
| 85 | | ********************************************************** |
| 86 | | --> |
| 87 | | <target name="revision"> |
| 88 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 89 | | <env key="LANG" value="C"/> |
| 90 | | <arg value="info"/> |
| 91 | | <arg value="--xml"/> |
| 92 | | <arg value="."/> |
| 93 | | </exec> |
| 94 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 95 | | <delete file="REVISION"/> |
| 96 | | </target> |
| 97 | | <!-- |
| 98 | | ********************************************************** |
| 99 | 88 | ** clean - clean up the build environment |
| 100 | 89 | ********************************************************** |
| 101 | 90 | --> |
diff --git a/ext_tools/build.xml b/ext_tools/build.xml
index e1ec1c9..419cfb2 100644
|
a
|
b
|
|
| 11 | 11 | <property name="josm" location="../../core/dist/josm-custom.jar"/> |
| 12 | 12 | <property name="plugin.build.dir" value="build"/> |
| 13 | 13 | <property name="plugin.src.dir" value="src"/> |
| | 14 | <property name="plugin.resources.dir" value="resources"/> |
| 14 | 15 | <!-- this is the directory where the plugin jar is copied to --> |
| 15 | 16 | <property name="plugin.dist.dir" value="../../dist"/> |
| 16 | 17 | <property name="ant.build.javac.target" value="1.7"/> |
| … |
… |
|
| 18 | 19 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 19 | 20 | <!-- |
| 20 | 21 | ********************************************************** |
| | 22 | ** include targets that all plugins have in common |
| | 23 | ********************************************************** |
| | 24 | --> |
| | 25 | <import file="../build-common.xml"/> |
| | 26 | <!-- |
| | 27 | ********************************************************** |
| 21 | 28 | ** init - initializes the build |
| 22 | 29 | ********************************************************** |
| 23 | 30 | --> |
| 24 | 31 | <target name="init"> |
| 25 | 32 | <mkdir dir="${plugin.build.dir}"/> |
| | 33 | <mkdir dir="${plugin.resources.dir}"/> |
| 26 | 34 | </target> |
| 27 | 35 | <!-- |
| 28 | 36 | ********************************************************** |
| … |
… |
|
| 81 | 89 | </target> |
| 82 | 90 | <!-- |
| 83 | 91 | ********************************************************** |
| 84 | | ** revision - extracts the current revision number for the |
| 85 | | ** file build.number and stores it in the XML property |
| 86 | | ** version.* |
| 87 | | ********************************************************** |
| 88 | | --> |
| 89 | | <target name="revision"> |
| 90 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 91 | | <env key="LANG" value="C"/> |
| 92 | | <arg value="info"/> |
| 93 | | <arg value="--xml"/> |
| 94 | | <arg value="."/> |
| 95 | | </exec> |
| 96 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 97 | | <delete file="REVISION"/> |
| 98 | | </target> |
| 99 | | <!-- |
| 100 | | ********************************************************** |
| 101 | 92 | ** clean - clean up the build environment |
| 102 | 93 | ********************************************************** |
| 103 | 94 | --> |
diff --git a/globalsat/build.xml b/globalsat/build.xml
index 59cc4b2..2689803 100644
|
a
|
b
|
|
| 14 | 14 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 15 | 15 | <property name="ant.build.javac.target" value="1.7"/> |
| 16 | 16 | <property name="RXTX" location="./libs/RXTXcomm.jar"/> |
| | 17 | <!-- |
| | 18 | ********************************************************** |
| | 19 | ** include targets that all plugins have in common |
| | 20 | ********************************************************** |
| | 21 | --> |
| | 22 | <import file="../build-common.xml"/> |
| 17 | 23 | <target name="init"> |
| 18 | 24 | <mkdir dir="${plugin.build.dir}"/> |
| 19 | 25 | </target> |
| … |
… |
|
| 49 | 55 | </manifest> |
| 50 | 56 | </jar> |
| 51 | 57 | </target> |
| 52 | | <target name="revision"> |
| 53 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 54 | | <env key="LANG" value="C"/> |
| 55 | | <arg value="info"/> |
| 56 | | <arg value="--xml"/> |
| 57 | | <arg value="."/> |
| 58 | | </exec> |
| 59 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 60 | | <delete file="REVISION"/> |
| 61 | | </target> |
| 62 | 58 | <target name="clean"> |
| 63 | 59 | <delete dir="${plugin.build.dir}"/> |
| 64 | 60 | <delete file="${plugin.jar}"/> |
diff --git a/gpsblam/build.xml b/gpsblam/build.xml
index 3dbce20..1bab608 100644
|
a
|
b
|
|
| 12 | 12 | ********************************************************** |
| 13 | 13 | --> |
| 14 | 14 | <import file="../build-common.xml"/> |
| 15 | | |
| | 15 | <target name="init"> |
| | 16 | <mkdir dir="resources"/> |
| | 17 | <mkdir dir="build"/> |
| | 18 | </target> |
| 16 | 19 | <!-- |
| 17 | 20 | ********************************************************** |
| 18 | 21 | ** dist - creates the plugin jar |
diff --git a/infomode/build.xml b/infomode/build.xml
index 50b62a1..1063d1d 100644
|
a
|
b
|
|
| 8 | 8 | <property name="josm" location="../../core/dist/josm-custom.jar"/> |
| 9 | 9 | <property name="plugin.build.dir" value="build"/> |
| 10 | 10 | <property name="plugin.src.dir" value="src"/> |
| | 11 | <property name="plugin.resources.dir" value="resources"/> |
| 11 | 12 | <!-- this is the directory where the plugin jar is copied to --> |
| 12 | 13 | <property name="plugin.dist.dir" value="../../dist"/> |
| 13 | 14 | <property name="ant.build.javac.target" value="1.7"/> |
| … |
… |
|
| 15 | 16 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 16 | 17 | <!-- |
| 17 | 18 | ********************************************************** |
| | 19 | ** include targets that all plugins have in common |
| | 20 | ********************************************************** |
| | 21 | --> |
| | 22 | <import file="../build-common.xml"/> |
| | 23 | <!-- |
| | 24 | ********************************************************** |
| 18 | 25 | ** init - initializes the build |
| 19 | 26 | ********************************************************** |
| 20 | 27 | --> |
| 21 | 28 | <target name="init"> |
| 22 | 29 | <mkdir dir="${plugin.build.dir}"/> |
| | 30 | <mkdir dir="${plugin.resources.dir}"/> |
| 23 | 31 | </target> |
| 24 | 32 | <!-- |
| 25 | 33 | ********************************************************** |
| … |
… |
|
| 79 | 87 | </target> |
| 80 | 88 | <!-- |
| 81 | 89 | ********************************************************** |
| 82 | | ** revision - extracts the current revision number for the |
| 83 | | ** file build.number and stores it in the XML property |
| 84 | | ** version.* |
| 85 | | ********************************************************** |
| 86 | | --> |
| 87 | | <target name="revision"> |
| 88 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 89 | | <env key="LANG" value="C"/> |
| 90 | | <arg value="info"/> |
| 91 | | <arg value="--xml"/> |
| 92 | | <arg value="."/> |
| 93 | | </exec> |
| 94 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 95 | | <delete file="REVISION"/> |
| 96 | | </target> |
| 97 | | <!-- |
| 98 | | ********************************************************** |
| 99 | 90 | ** clean - clean up the build environment |
| 100 | 91 | ********************************************************** |
| 101 | 92 | --> |
| … |
… |
|
| 118 | 109 | <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> |
| 119 | 110 | </target> |
| 120 | 111 | <!-- |
| 121 | | ************************** Publishing the plugin *********************************** |
| | 112 | ************************** Publishing the plugin *********************************** |
| 122 | 113 | --> |
| 123 | 114 | <!-- |
| 124 | | ** extracts the JOSM release for the JOSM version in ../core and saves it in the |
| | 115 | ** extracts the JOSM release for the JOSM version in ../core and saves it in the |
| 125 | 116 | ** property ${coreversion.info.entry.revision} |
| 126 | 117 | --> |
| 127 | 118 | <target name="core-info"> |
| … |
… |
|
| 165 | 156 | <target name="commit-dist"> |
| 166 | 157 | <echo> |
| 167 | 158 | ***** Properties of published ${plugin.jar} ***** |
| 168 | | Commit message : '${commit.message}' |
| | 159 | Commit message : '${commit.message}' |
| 169 | 160 | Plugin-Mainversion: ${plugin.main.version} |
| 170 | 161 | JOSM build version: ${coreversion.info.entry.revision} |
| 171 | 162 | Plugin-Version : ${version.entry.commit.revision} |
| 172 | | ***** / Properties of published ${plugin.jar} ***** |
| 173 | | |
| | 163 | ***** / Properties of published ${plugin.jar} ***** |
| | 164 | |
| 174 | 165 | Now commiting ${plugin.jar} ... |
| 175 | 166 | </echo> |
| 176 | 167 | <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false"> |
diff --git a/irsrectify/build.xml b/irsrectify/build.xml
index 93c82a3..6554515 100644
|
a
|
b
|
|
| 18 | 18 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 19 | 19 | <!-- |
| 20 | 20 | ********************************************************** |
| | 21 | ** include targets that all plugins have in common |
| | 22 | ********************************************************** |
| | 23 | --> |
| | 24 | <import file="../build-common.xml"/> |
| | 25 | <!-- |
| | 26 | ********************************************************** |
| 21 | 27 | ** init - initializes the build |
| 22 | 28 | ********************************************************** |
| 23 | 29 | --> |
| … |
… |
|
| 79 | 85 | </target> |
| 80 | 86 | <!-- |
| 81 | 87 | ********************************************************** |
| 82 | | ** revision - extracts the current revision number for the |
| 83 | | ** file build.number and stores it in the XML property |
| 84 | | ** version.* |
| 85 | | ********************************************************** |
| 86 | | --> |
| 87 | | <target name="revision"> |
| 88 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 89 | | <env key="LANG" value="C"/> |
| 90 | | <arg value="info"/> |
| 91 | | <arg value="--xml"/> |
| 92 | | <arg value="."/> |
| 93 | | </exec> |
| 94 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 95 | | <delete file="REVISION"/> |
| 96 | | </target> |
| 97 | | <!-- |
| 98 | | ********************************************************** |
| 99 | 88 | ** clean - clean up the build environment |
| 100 | 89 | ********************************************************** |
| 101 | 90 | --> |
| … |
… |
|
| 118 | 107 | <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> |
| 119 | 108 | </target> |
| 120 | 109 | <!-- |
| 121 | | ************************** Publishing the plugin *********************************** |
| | 110 | ************************** Publishing the plugin *********************************** |
| 122 | 111 | --> |
| 123 | 112 | <!-- |
| 124 | | ** extracts the JOSM release for the JOSM version in ../core and saves it in the |
| | 113 | ** extracts the JOSM release for the JOSM version in ../core and saves it in the |
| 125 | 114 | ** property ${coreversion.info.entry.revision} |
| 126 | 115 | ** |
| 127 | 116 | --> |
| … |
… |
|
| 167 | 156 | </exec> |
| 168 | 157 | </target> |
| 169 | 158 | <!-- |
| 170 | | ** commits the plugin.jar |
| | 159 | ** commits the plugin.jar |
| 171 | 160 | --> |
| 172 | 161 | <target name="commit-dist"> |
| 173 | 162 | <echo> |
| 174 | 163 | ***** Properties of published ${plugin.jar} ***** |
| 175 | | Commit message : '${commit.message}' |
| | 164 | Commit message : '${commit.message}' |
| 176 | 165 | Plugin-Mainversion: ${plugin.main.version} |
| 177 | 166 | JOSM build version: ${coreversion.info.entry.revision} |
| 178 | 167 | Plugin-Version : ${version.entry.commit.revision} |
| 179 | | ***** / Properties of published ${plugin.jar} ***** |
| 180 | | |
| | 168 | ***** / Properties of published ${plugin.jar} ***** |
| | 169 | |
| 181 | 170 | Now commiting ${plugin.jar} ... |
| 182 | 171 | </echo> |
| 183 | 172 | <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false"> |
diff --git a/no_more_mapping/build.xml b/no_more_mapping/build.xml
index fe6eacb..8f948c3 100644
|
a
|
b
|
|
| 20 | 20 | --> |
| 21 | 21 | <target name="dist" depends="compile,revision"> |
| 22 | 22 | <echo message="creating ${ant.project.name}.jar ... "/> |
| 23 | | <copy todir="${plugin.build.dir}/resources"> |
| 24 | | <fileset dir="resources"/> |
| 25 | | </copy> |
| 26 | 23 | <copy todir="${plugin.build.dir}/images"> |
| 27 | 24 | <fileset dir="images"/> |
| 28 | 25 | </copy> |
diff --git a/openvisible/build.xml b/openvisible/build.xml
index 3306760..d3c03e6 100644
|
a
|
b
|
|
| 5 | 5 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> |
| 6 | 6 | <property name="plugin.main.version" value="7001"/> |
| 7 | 7 | <!-- |
| | 8 | ********************************************************** |
| | 9 | ** include targets that all plugins have in common |
| | 10 | ********************************************************** |
| | 11 | --> |
| | 12 | <import file="../build-common.xml"/> |
| | 13 | <!-- |
| 8 | 14 | ************************************************ |
| 9 | 15 | ** should not be necessary to change the following properties |
| 10 | 16 | --> |
| … |
… |
|
| 44 | 50 | </manifest> |
| 45 | 51 | </jar> |
| 46 | 52 | </target> |
| 47 | | <target name="revision"> |
| 48 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 49 | | <env key="LANG" value="C"/> |
| 50 | | <arg value="info"/> |
| 51 | | <arg value="--xml"/> |
| 52 | | <arg value="."/> |
| 53 | | </exec> |
| 54 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 55 | | <delete file="REVISION"/> |
| 56 | | </target> |
| 57 | 53 | <target name="clean"> |
| 58 | 54 | <delete dir="${plugin.build.dir}"/> |
| 59 | 55 | <delete file="${plugin.jar}"/> |
| … |
… |
|
| 68 | 64 | <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> |
| 69 | 65 | </target> |
| 70 | 66 | <!-- |
| 71 | | ************************** Publishing the plugin *********************************** |
| | 67 | ************************** Publishing the plugin *********************************** |
| 72 | 68 | --> |
| 73 | 69 | <!-- |
| 74 | | ** extracts the JOSM release for the JOSM version in ../core and saves it in the |
| | 70 | ** extracts the JOSM release for the JOSM version in ../core and saves it in the |
| 75 | 71 | ** property ${coreversion.info.entry.revision} |
| 76 | 72 | ** |
| 77 | 73 | --> |
| … |
… |
|
| 117 | 113 | </exec> |
| 118 | 114 | </target> |
| 119 | 115 | <!-- |
| 120 | | ** commits the plugin.jar |
| | 116 | ** commits the plugin.jar |
| 121 | 117 | --> |
| 122 | 118 | <target name="commit-dist"> |
| 123 | 119 | <echo> |
| 124 | 120 | ***** Properties of published ${plugin.jar} ***** |
| 125 | | Commit message : '${commit.message}' |
| | 121 | Commit message : '${commit.message}' |
| 126 | 122 | Plugin-Mainversion: ${plugin.main.version} |
| 127 | 123 | JOSM build version: ${coreversion.info.entry.revision} |
| 128 | 124 | Plugin-Version : ${version.entry.commit.revision} |
| 129 | | ***** / Properties of published ${plugin.jar} ***** |
| 130 | | |
| | 125 | ***** / Properties of published ${plugin.jar} ***** |
| | 126 | |
| 131 | 127 | Now commiting ${plugin.jar} ... |
| 132 | 128 | </echo> |
| 133 | 129 | <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false"> |
diff --git a/osmarender/build.xml b/osmarender/build.xml
index f65095f..fa5375d 100644
|
a
|
b
|
|
| 22 | 22 | <copy tofile="${plugin.build.dir}/osm-map-features.xml" file="${stylesheets}/osm-map-features-z17.xml"/> |
| 23 | 23 | </target> |
| 24 | 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 | 25 | </project> |
diff --git a/routes/build.xml b/routes/build.xml
index 85be3e9..4eb075e 100644
|
a
|
b
|
|
| 5 | 5 | <property name="josm" location="../../core/dist/josm-custom.jar"/> |
| 6 | 6 | <property name="plugin.dist.dir" value="../../dist"/> |
| 7 | 7 | <property name="plugin.build.dir" value="build"/> |
| | 8 | <property name="plugin.lib.dir" value="lib"/> |
| 8 | 9 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 9 | 10 | <property name="ant.build.javac.target" value="1.7"/> |
| | 11 | <!-- |
| | 12 | ********************************************************** |
| | 13 | ** include targets that all plugins have in common |
| | 14 | ********************************************************** |
| | 15 | --> |
| | 16 | <import file="../build-common.xml"/> |
| 10 | 17 | <target name="init"> |
| 11 | 18 | <mkdir dir="${plugin.build.dir}"/> |
| | 19 | <mkdir dir="${plugin.lib.dir}"/> |
| 12 | 20 | </target> |
| 13 | 21 | <target name="compile" depends="init"> |
| 14 | 22 | <echo message="creating ${plugin.jar}"/> |
| … |
… |
|
| 40 | 48 | </manifest> |
| 41 | 49 | </jar> |
| 42 | 50 | </target> |
| 43 | | <target name="revision"> |
| 44 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 45 | | <env key="LANG" value="C"/> |
| 46 | | <arg value="info"/> |
| 47 | | <arg value="--xml"/> |
| 48 | | <arg value="."/> |
| 49 | | </exec> |
| 50 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 51 | | <delete file="REVISION"/> |
| 52 | | </target> |
| 53 | 51 | <target name="clean"> |
| 54 | 52 | <delete dir="${plugin.build.dir}"/> |
| 55 | 53 | <delete file="${plugin.jar}"/> |
diff --git a/tagging-preset-tester/build.xml b/tagging-preset-tester/build.xml
index efc1653..7d15dfe 100644
|
a
|
b
|
|
| 7 | 7 | <property name="plugin.build.dir" value="build"/> |
| 8 | 8 | <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> |
| 9 | 9 | <property name="ant.build.javac.target" value="1.7"/> |
| | 10 | <!-- |
| | 11 | ********************************************************** |
| | 12 | ** include targets that all plugins have in common |
| | 13 | ********************************************************** |
| | 14 | --> |
| | 15 | <import file="../build-common.xml"/> |
| 10 | 16 | <target name="init"> |
| 11 | 17 | <mkdir dir="${plugin.build.dir}"/> |
| 12 | 18 | </target> |
| … |
… |
|
| 41 | 47 | </manifest> |
| 42 | 48 | </jar> |
| 43 | 49 | </target> |
| 44 | | <target name="revision"> |
| 45 | | <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> |
| 46 | | <env key="LANG" value="C"/> |
| 47 | | <arg value="info"/> |
| 48 | | <arg value="--xml"/> |
| 49 | | <arg value="."/> |
| 50 | | </exec> |
| 51 | | <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> |
| 52 | | <delete file="REVISION"/> |
| 53 | | </target> |
| 54 | 50 | <target name="clean"> |
| 55 | 51 | <delete dir="${plugin.build.dir}"/> |
| 56 | 52 | <delete file="${plugin.jar}"/> |
diff --git a/turnlanes/build.xml b/turnlanes/build.xml
index 5815fbe..e4197bf 100644
|
a
|
b
|
|
| 12 | 12 | ********************************************************** |
| 13 | 13 | --> |
| 14 | 14 | <import file="../build-common.xml"/> |
| 15 | | |
| 16 | 15 | <!-- |
| 17 | 16 | ********************************************************** |
| 18 | 17 | ** dist - creates the plugin jar |
| … |
… |
|
| 20 | 19 | --> |
| 21 | 20 | <target name="dist" depends="compile,revision"> |
| 22 | 21 | <echo message="creating ${ant.project.name}.jar ... "/> |
| 23 | | <copy todir="${plugin.build.dir}/resources"> |
| 24 | | <fileset dir="resources"/> |
| 25 | | </copy> |
| 26 | 22 | <copy todir="${plugin.build.dir}/images"> |
| 27 | 23 | <fileset dir="images"/> |
| 28 | 24 | </copy> |