Changeset 32334 in osm for applications/editors/josm/plugins/build-common.xml
- Timestamp:
- 2016-06-20T02:10:56+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build-common.xml
r32326 r32334 205 205 ** Initializes the REVISION.XML file from SVN information 206 206 --> 207 <target name="init-svn-revision-xml" >207 <target name="init-svn-revision-xml" unless="skip-revision"> 208 208 <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false" resultproperty="svn.info.result"> 209 209 <env key="LANG" value="C"/> … … 212 212 <arg value="."/> 213 213 </exec> 214 <condition property="svn.info. success">215 < equals arg1="${svn.info.result}" arg2="0" />214 <condition property="svn.info.fail"> 215 <not><equals arg1="${svn.info.result}" arg2="0" /></not> 216 216 </condition> 217 217 </target> … … 220 220 Obtains the revision from the git-svn-id field. 221 221 --> 222 <target name="init-git-svn-revision-xml" unless="svn.info.success">222 <target name="init-git-svn-revision-xml" if="svn.info.fail" unless="skip-revision"> 223 223 <exec append="false" output="REVISION.XML" executable="git" failifexecutionfails="false" resultproperty="git.svn.info.result"> 224 224 <arg value="log"/> … … 249 249 Uses Unix date as revision number. 250 250 --> 251 <target name="init-git-revision-xml" if="git.svn.fail" >251 <target name="init-git-revision-xml" if="git.svn.fail" unless="skip-revision"> 252 252 <exec append="false" output="REVISION.XML" executable="git" failifexecutionfails="false" resultproperty="git.info.result"> 253 253 <arg value="log"/> … … 268 268 </condition> 269 269 </target> 270 <target name="init-revision-fallback" if="git.fail" >270 <target name="init-revision-fallback" if="git.fail" unless="skip-revision"> 271 271 <tstamp> 272 272 <format property="current.time" pattern="yyyy-MM-dd'T'HH:mm:ss.SSS" />
Note:
See TracChangeset
for help on using the changeset viewer.