Changeset 13545fd for build.xml


Ignore:
Timestamp:
Aug 21, 2011 6:25:32 AM (9 years ago)
Author:
walking <walking@…>
Branches:
master
Children:
5283b8d1
Parents:
4c988f0
Message:

ant build now works again on winows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    r4c988f0 r13545fd  
    435435            <arg value="core/java/src/net/i2p/CoreVersion.java" />
    436436        </exec>
    437         <exec executable="cut" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
     437        <exec executable="cut" osfamily="unix" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
    438438            <arg value="-f2" />
    439439            <arg value="-d&quot;" />
     440        </exec>
     441        <exec executable="cut" osfamily="mac" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
     442            <arg value="-f2" />
     443            <arg value="-d&quot;"/>
     444        </exec>
     445        <exec executable="cut" osfamily="windows" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
     446            <arg value="-f2" />
     447            <arg value="-d&quot;\&quot;&quot;"/>
    440448        </exec>
    441449        <echo message="Release number is ${release.number}" />
Note: See TracChangeset for help on using the changeset viewer.