Changeset 26174 in osm for applications/editors/josm/plugins/epsg31287
- Timestamp:
- 2011-06-25T19:02:31+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/epsg31287
- Files:
-
- 11 added
- 1 edited
-
build.xml (modified) (16 diffs)
-
data (added)
-
data/cs.lang (added)
-
data/de.lang (added)
-
data/en.lang (added)
-
data/es.lang (added)
-
data/fr.lang (added)
-
data/gl.lang (added)
-
data/it.lang (added)
-
data/pt_BR.lang (added)
-
data/ru.lang (added)
-
data/uk.lang (added)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/epsg31287/build.xml
r25262 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. … … 29 29 --> 30 30 <project name="epsg31287" default="dist" basedir="."> 31 32 31 <!-- read build.properties for local settings --> 33 <property file="build.properties" />32 <property file="build.properties"/> 34 33 <!-- enter the SVN command file name --> 35 <property name="svn" value="svn" />34 <property name="svn" value="svn"/> 36 35 <!-- enter the SVN commit message --> 37 <property name="commit.message" value="fixed proj4 Parameters (thanks to Hetzi + Mikael Rittri)" />36 <property name="commit.message" value="fixed proj4 Parameters (thanks to Hetzi + Mikael Rittri)"/> 38 37 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 39 <property name="plugin.main.version" value="3872" /> 40 41 38 <property name="plugin.main.version" value="3872"/> 42 39 <!-- 43 40 ************************************************ 44 41 ** should not be necessary to change the following properties 45 42 --> 46 <property name="josm" location="../../core/dist/josm-custom.jar"/>47 <property name="plugin.build.dir" value="build"/>48 <property name="plugin.src.dir" value="src"/>43 <property name="josm" location="../../core/dist/josm-custom.jar"/> 44 <property name="plugin.build.dir" value="build"/> 45 <property name="plugin.src.dir" value="src"/> 49 46 <!-- this is the directory where the plugin jar is copied to --> 50 <property name="plugin.dist.dir" value="../../dist"/>47 <property name="plugin.dist.dir" value="../../dist"/> 51 48 <property name="ant.build.javac.target" value="1.5"/> 52 <property name="plugin.dist.dir" value="../../dist"/> 53 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 54 49 <property name="plugin.dist.dir" value="../../dist"/> 50 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 55 51 <!-- 56 52 ********************************************************** … … 61 57 <mkdir dir="${plugin.build.dir}"/> 62 58 </target> 63 64 59 <!-- 65 60 ********************************************************** … … 74 69 </javac> 75 70 </target> 76 77 71 <!-- 78 72 ********************************************************** … … 88 82 <fileset dir="images"/> 89 83 </copy> 84 <copy todir="${plugin.build.dir}/data"> 85 <fileset dir="data"/> 86 </copy> 90 87 <copy todir="${plugin.build.dir}"> 91 88 <fileset dir="."> 92 <include name="README" />93 <include name="LICENSE" />89 <include name="README"/> 90 <include name="LICENSE"/> 94 91 </fileset> 95 92 </copy> 96 93 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 97 <!-- <zipfileset src="lib/javaproj-1.0.6.jar" /> -->94 <!-- <zipfileset src="lib/javaproj-1.0.6.jar" /> --> 98 95 <!-- 99 96 ************************************************ … … 112 109 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/> 113 110 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 114 <!-- <attribute name="Plugin-Version" value="0.3"/> -->111 <!-- <attribute name="Plugin-Version" value="0.3"/> --> 115 112 </manifest> 116 113 </jar> 117 114 </target> 118 119 115 <!-- 120 116 ********************************************************** … … 125 121 --> 126 122 <target name="revision"> 127 128 123 <exec append="false" output="REVISION" executable="${svn}" failifexecutionfails="false"> 129 124 <env key="LANG" value="C"/> … … 135 130 <delete file="REVISION"/> 136 131 </target> 137 138 132 <!-- 139 133 ********************************************************** … … 145 139 <delete file="${plugin.jar}"/> 146 140 </target> 147 148 141 <!-- 149 142 ********************************************************** … … 160 153 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 161 154 </target> 162 163 164 155 <!-- 165 156 ************************** Publishing the plugin *********************************** … … 180 171 <echo>Building against core revision ${coreversion.info.entry.revision}.</echo> 181 172 <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo> 182 <delete file="core.info.xml" /> 183 </target> 184 173 <delete file="core.info.xml"/> 174 </target> 185 175 <!-- 186 176 ** commits the source tree for this plugin … … 193 183 <arg value="-m '${commit.message}'"/> 194 184 <arg value="."/> 195 <arg value="${svn.username_arg}"/> 196 <arg value="${svn.username}"/> 197 <arg value="${svn.password_arg}"/> 198 <arg value="${svn.password}"/> 199 </exec> 200 </target> 201 185 <arg value="${svn.username_arg}"/> 186 <arg value="${svn.username}"/> 187 <arg value="${svn.password_arg}"/> 188 <arg value="${svn.password}"/> 189 </exec> 190 </target> 202 191 <!-- 203 192 ** updates (svn up) the source tree for this plugin … … 217 206 </exec> 218 207 </target> 219 220 208 <!-- 221 209 ** commits the plugin.jar … … 237 225 <arg value="commit"/> 238 226 <arg value="${plugin.jar}"/> 239 <arg value="${svn.username_arg}"/> 240 <arg value="${svn.username}"/> 241 <arg value="${svn.password_arg}"/> 242 <arg value="${svn.password}"/> 243 </exec> 244 </target> 245 227 <arg value="${svn.username_arg}"/> 228 <arg value="${svn.username}"/> 229 <arg value="${svn.password_arg}"/> 230 <arg value="${svn.password}"/> 231 </exec> 232 </target> 246 233 <!-- ** make sure svn is present as a command line tool ** --> 247 234 <target name="ensure-svn-present"> 248 235 <exec append="true" output="svn.log" executable="${svn}" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code"> 249 <env key="LANG" value="C" />250 <arg value="--version" />236 <env key="LANG" value="C"/> 237 <arg value="--version"/> 251 238 </exec> 252 239 <fail message="Fatal: command 'svn --version' failed. Please make sure svn is installed on your system."> … … 254 241 <condition> 255 242 <not> 256 <isset property="svn.exit.code" />243 <isset property="svn.exit.code"/> 257 244 </not> 258 245 </condition> … … 261 248 <!-- error code from SVN? Most likely svn is not what we are looking on this system --> 262 249 <condition> 263 <isfailure code="${svn.exit.code}" />250 <isfailure code="${svn.exit.code}"/> 264 251 </condition> 265 252 </fail> 266 253 </target> 267 268 254 <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist"> 269 255 </target>
Note:
See TracChangeset
for help on using the changeset viewer.
