Changeset 26174 in osm for applications/editors/josm/plugins/FixAddresses
- Timestamp:
- 2011-06-25T19:02:31+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses
- Files:
-
- 31 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified applications/editors/josm/plugins/FixAddresses/build.xml ¶
r25374 r26174 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="utf-8"?> 2 2 <!-- 3 3 ** This is a template build file for a JOSM plugin. … … 26 26 ** should not be necessary to change the following properties 27 27 --> 28 <property name="josm" 29 30 <property name="plugin.build.dir" 31 <property name="plugin.src.dir" 28 <property name="josm" location="../../core/dist/josm-custom.jar"/> 29 <property name="josm_3529" location="../../core/dist/3529/josm-tested.jar"/> 30 <property name="plugin.build.dir" value="build"/> 31 <property name="plugin.src.dir" value="src"/> 32 32 <!-- this is the directory where the plugin jar is copied to --> 33 <property name="plugin.dist.dir" 33 <property name="plugin.dist.dir" value="../../dist"/> 34 34 <property name="ant.build.javac.target" value="1.5"/> 35 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 36 35 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 37 36 <!-- 38 37 ********************************************************** … … 41 40 --> 42 41 <target name="init"> 43 <mkdir dir="${plugin.build.dir}"/> 42 <mkdir dir="${plugin.build.dir}"/> 44 43 </target> 45 46 44 <!-- 47 45 ********************************************************** … … 56 54 </javac> 57 55 </target> 58 59 56 <!-- 60 57 ********************************************************** … … 63 60 --> 64 61 <target name="dist" depends="compile,revision"> 65 62 <mkdir dir="${plugin.dist.dir}"/> 66 63 <echo message="creating ${plugin.jar} ... "/> 67 64 <copy todir="${plugin.build.dir}/resources"> … … 71 68 <fileset dir="images"/> 72 69 </copy> 70 <copy todir="${plugin.build.dir}/data"> 71 <fileset dir="data"/> 72 </copy> 73 73 <copy todir="${plugin.build.dir}"> 74 74 <fileset dir="."> 75 <include name="README" 76 <include name="GPL-v2.0.txt" 77 75 <include name="README"/> 76 <include name="GPL-v2.0.txt"/> 77 <include name="GPL-v3.0.txt"/> 78 78 </fileset> 79 79 </copy> 80 80 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 81 <!-- 81 <!-- 82 82 ************************************************ 83 83 ** configure these properties. Most of them will be copied to the plugins … … 92 92 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 93 93 <attribute name="Plugin-Description" value="Finds and fixes invalid street addresses in a comfortable way."/> 94 94 <attribute name="de_Plugin-Description" value="Findet ungültige Addressen und bietet Unterstützung zur deren Korrektur."/> 95 95 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/FixAddresses"/> 96 96 <attribute name="Plugin-Mainversion" value="3835"/> 97 97 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 98 98 <attribute name="Plugin-Icon" value="images/fixaddresses.png"/> 99 99 </manifest> 100 </jar> 100 </jar> 101 101 </target> 102 103 102 <!-- 104 103 ********************************************************** … … 109 108 --> 110 109 <target name="revision"> 111 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 112 <env key="LANG" value="C"/> 113 <arg value="info"/> 114 <arg value="--xml"/> 115 <arg value="."/> 116 </exec> 117 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 118 <echo message="Revision: ${version.entry.commit.revision}"/> 119 <delete file="REVISION"/> 120 </target> 121 110 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 111 <env key="LANG" value="C"/> 112 <arg value="info"/> 113 <arg value="--xml"/> 114 <arg value="."/> 115 </exec> 116 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 117 <echo message="Revision: ${version.entry.commit.revision}"/> 118 <delete file="REVISION"/> 119 </target> 122 120 <!-- 123 121 ********************************************************** … … 129 127 <delete file="${plugin.jar}"/> 130 128 </target> 131 132 129 <!-- 133 130 **********************************************************
Note:
See TracChangeset
for help on using the changeset viewer.