Changeset 16341 in josm
- Timestamp:
- 2020-04-18T18:41:15+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r16243 r16341 48 48 </or> 49 49 </condition> 50 <available property="svn.present" file="${base.dir}/.svn"/> 51 <available property="git.present" file="${base.dir}/.git"/> 50 52 <property name="build.dir" location="${base.dir}/build"/> 51 53 <property name="dist.dir" location="${base.dir}/dist"/> … … 126 128 ** Initializes the REVISION.XML file from SVN information 127 129 --> 128 <target name="init-svn-revision-xml" depends="init-properties">129 <exec append="false" output="${base.dir}/REVISION.XML" executable="svn" dir="${base.dir}" failifexecutionfails="false"resultproperty="svn.info.result">130 <target name="init-svn-revision-xml" if="svn.present" depends="init-properties"> 131 <exec append="false" output="${base.dir}/REVISION.XML" executable="svn" dir="${base.dir}" resultproperty="svn.info.result"> 130 132 <env key="LANG" value="C"/> 131 133 <arg value="info"/> … … 133 135 <arg value="."/> 134 136 </exec> 135 <condition property="svn.info.success">136 <equals arg1="${svn.info.result}" arg2="0" />137 </condition>138 137 </target> 139 138 <!-- 140 139 ** Initializes the REVISION.XML file from git information 141 140 --> 142 <target name="init-git-revision-xml" unless="svn.info.success" depends="init-properties">143 <exec append="false" output="${base.dir}/REVISION.XML" executable="git" dir="${base.dir}" failifexecutionfails="false">141 <target name="init-git-revision-xml" if="git.present" depends="init-properties"> 142 <exec append="false" output="${base.dir}/REVISION.XML" executable="git" dir="${base.dir}"> 144 143 <arg value="log"/> 145 144 <arg value="-1"/>
Note:
See TracChangeset
for help on using the changeset viewer.