Changeset 6585 in josm for trunk/build.xml


Ignore:
Timestamp:
2014-01-01T12:39:40+01:00 (5 years ago)
Author:
simon04
Message:

fix #9501 see #9450 - JOSM build failed with SVN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r6545 r6585  
    4040    -->
    4141    <target name="init-svn-revision-xml">
    42         <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false" errorproperty="svn.info.failed">
     42        <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false" resultproperty="svn.info.result">
    4343            <env key="LANG" value="C"/>
    4444            <arg value="info"/>
     
    4646            <arg value="."/>
    4747        </exec>
     48        <condition property="svn.info.success">
     49            <equals arg1="${svn.info.result}" arg2="0" />
     50        </condition>
    4851    </target>
    4952    <!--
    5053      ** Initializes the REVISION.XML file from git information
    5154    -->
    52     <target name="init-git-revision-xml" if="svn.info.failed">
     55    <target name="init-git-revision-xml" unless="svn.info.success">
    5356        <exec append="false" output="REVISION.XML" executable="git" failifexecutionfails="false">
    5457            <arg value="log"/>
Note: See TracChangeset for help on using the changeset viewer.