Changeset 18520 in osm for applications/editors/josm
- Timestamp:
- 2009-11-08T20:41:22+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/build.xml
r18518 r18520 101 101 </exec> 102 102 <xmlproperty file="core.info.xml" prefix="coreversion" keepRoot="true" collapseAttributes="true"/> 103 <echo>Building against core revision ${coreversion.info.entry.revision}.</echo> 104 103 <echo>Building against core revision ${coreversion.info.entry.revision}.</echo> 105 104 <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo> 106 105 <delete file="core.info.xml" /> … … 115 114 <env key="LANG" value="C"/> 116 115 <arg value="commit"/> 117 <arg value="-m "${commit.message}""/>116 <arg value="-m '${commit.message}'"/> 118 117 <arg value="."/> 119 118 </exec> … … 142 141 --> 143 142 <target name="commit-dist"> 144 <echo>Commiting ${plugin.jar} with message '${commit.message}' ...</echo> 145 <echo>Plugin-Mainversion is ${plugin.main.version} ...</echo> 146 <echo>JOSM build version is ${coreversion.info.entry.revision} ...</echo> 147 <echo>Plugin-Version is ${version.entry.commit.revision} ...</echo> 148 <echo>Commiting ${plugin.jar} ...</echo> 149 <condition property="difference-in-josm-version"> 150 <equals arg1="${plugin.main.version}" arg2="${coreversion.info.entry.revision}" /> 151 </condition> 152 143 <echo> 144 ***** Properties of published ${plugin.jar} ***** 145 Commit message : '${commit.message}' 146 Plugin-Mainversion: ${plugin.main.version} 147 JOSM build version: ${coreversion.info.entry.revision} 148 Plugin-Version : ${version.entry.commit.revision} 149 ***** / Properties of published ${plugin.jar} ***** 150 151 Now commiting ${plugin.jar} ... 152 </echo> 153 153 <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false"> 154 154 <env key="LANG" value="C"/> 155 <arg value="commit"/>156 <arg value="-m "${commit.message}""/>157 <arg value="../../dist/validator.jar"/>155 <arg value="-m '${commit.message}'"/> 156 <arg value="commit"/> 157 <arg value="${plugin.jar}"/> 158 158 </exec> 159 159 </target> 160 161 <!-- 162 ** outputs a warning if the JOSM version inserted in the plugin manifest isn't equal to the 163 ** the JOSM version the plugin was built against. 164 ** 165 ** This isn't necessarily an error but it is a sign that something could be wrong. 166 --> 167 <target name="warn-difference-in-josm-version" unless="${difference-in-josm-version}"> 168 <echo level="warning">!!!WARNING!!! Plugin-Mainversion is not equal to the JOSM version used in this build. !!!WARNING!!!</echo> 169 </target> 170 171 <target name="publish" depends="core-info,commit-current,update-current,clean,dist,commit-dist,warn-difference-in-josm-version"> 160 161 <target name="publish" depends="core-info,commit-current,update-current,clean,dist,commit-dist"> 172 162 </target> 173 163 </project>
Note:
See TracChangeset
for help on using the changeset viewer.