Changeset 26174 in osm for applications/editors/josm/plugins/restart
- Timestamp:
- 2011-06-25T19:02:31+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/restart
- Files:
-
- 31 added
- 1 edited
-
build.xml (modified) (16 diffs)
-
data (added)
-
data/ar.lang (added)
-
data/bg.lang (added)
-
data/cs.lang (added)
-
data/da.lang (added)
-
data/de.lang (added)
-
data/el.lang (added)
-
data/en.lang (added)
-
data/en_AU.lang (added)
-
data/en_GB.lang (added)
-
data/es.lang (added)
-
data/et.lang (added)
-
data/eu.lang (added)
-
data/fi.lang (added)
-
data/fr.lang (added)
-
data/gl.lang (added)
-
data/he.lang (added)
-
data/is.lang (added)
-
data/it.lang (added)
-
data/ja.lang (added)
-
data/nb.lang (added)
-
data/nl.lang (added)
-
data/pl.lang (added)
-
data/pt_BR.lang (added)
-
data/ru.lang (added)
-
data/sk.lang (added)
-
data/sv.lang (added)
-
data/tr.lang (added)
-
data/uk.lang (added)
-
data/zh_CN.lang (added)
-
data/zh_TW.lang (added)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/restart/build.xml
r25199 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="restart" default="dist" basedir="."> 31 32 31 <!-- enter the SVN commit message --> 33 <property name="commit.message" value="Commit message" />32 <property name="commit.message" value="Commit message"/> 34 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 35 <property name="plugin.main.version" value="3835" /> 36 37 34 <property name="plugin.main.version" value="3835"/> 38 35 <!-- 39 36 ************************************************ 40 37 ** should not be necessary to change the following properties 41 38 --> 42 <property name="josm" location="../../core/dist/josm-custom.jar"/>43 <property name="plugin.build.dir" value="build"/>44 <property name="plugin.src.dir" value="src"/>39 <property name="josm" location="../../core/dist/josm-custom.jar"/> 40 <property name="plugin.build.dir" value="build"/> 41 <property name="plugin.src.dir" value="src"/> 45 42 <!-- this is the directory where the plugin jar is copied to --> 46 <property name="plugin.dist.dir" value="../../dist"/>43 <property name="plugin.dist.dir" value="../../dist"/> 47 44 <property name="ant.build.javac.target" value="1.5"/> 48 <property name="plugin.dist.dir" value="../../dist"/> 49 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 50 45 <property name="plugin.dist.dir" value="../../dist"/> 46 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 51 47 <!-- 52 48 ********************************************************** … … 57 53 <mkdir dir="${plugin.build.dir}"/> 58 54 </target> 59 60 55 <!-- 61 56 ********************************************************** … … 70 65 </javac> 71 66 </target> 72 73 67 <!-- 74 68 ********************************************************** … … 80 74 <copy todir="${plugin.build.dir}"> 81 75 <fileset dir="."> 82 <include name="README" />83 <include name="LICENSE" />76 <include name="README"/> 77 <include name="LICENSE"/> 84 78 </fileset> 79 </copy> 80 <copy todir="${plugin.build.dir}/data"> 81 <fileset dir="data"/> 85 82 </copy> 86 83 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> … … 103 100 </jar> 104 101 </target> 105 106 102 <!-- 107 103 ********************************************************** … … 112 108 --> 113 109 <target name="revision"> 114 115 110 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 116 111 <env key="LANG" value="C"/> … … 122 117 <delete file="REVISION"/> 123 118 </target> 124 125 119 <!-- 126 120 ********************************************************** … … 132 126 <delete file="${plugin.jar}"/> 133 127 </target> 134 135 128 <!-- 136 129 ********************************************************** … … 147 140 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 148 141 </target> 149 150 151 142 <!-- 152 143 ************************** Publishing the plugin *********************************** … … 167 158 <echo>Building against core revision ${coreversion.info.entry.revision}.</echo> 168 159 <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo> 169 <delete file="core.info.xml" /> 170 </target> 171 160 <delete file="core.info.xml"/> 161 </target> 172 162 <!-- 173 163 ** commits the source tree for this plugin … … 182 172 </exec> 183 173 </target> 184 185 174 <!-- 186 175 ** updates (svn up) the source tree for this plugin … … 200 189 </exec> 201 190 </target> 202 203 191 <!-- 204 192 ** commits the plugin.jar … … 222 210 </exec> 223 211 </target> 224 225 212 <!-- ** make sure svn is present as a command line tool ** --> 226 213 <target name="ensure-svn-present"> 227 214 <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code"> 228 <env key="LANG" value="C" />229 <arg value="--version" />215 <env key="LANG" value="C"/> 216 <arg value="--version"/> 230 217 </exec> 231 218 <fail message="Fatal: command 'svn --version' failed. Please make sure svn is installed on your system."> … … 233 220 <condition> 234 221 <not> 235 <isset property="svn.exit.code" />222 <isset property="svn.exit.code"/> 236 223 </not> 237 224 </condition> … … 240 227 <!-- error code from SVN? Most likely svn is not what we are looking on this system --> 241 228 <condition> 242 <isfailure code="${svn.exit.code}" />229 <isfailure code="${svn.exit.code}"/> 243 230 </condition> 244 231 </fail> 245 232 </target> 246 247 233 <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist"> 248 234 </target>
Note:
See TracChangeset
for help on using the changeset viewer.
