forked from I2P_Developers/i2p.i2p
ant build now works again on winows
This commit is contained in:
10
build.xml
10
build.xml
@@ -434,10 +434,18 @@
|
|||||||
<arg value="public final static String VERSION" />
|
<arg value="public final static String VERSION" />
|
||||||
<arg value="core/java/src/net/i2p/CoreVersion.java" />
|
<arg value="core/java/src/net/i2p/CoreVersion.java" />
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="cut" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
|
<exec executable="cut" osfamily="unix" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
|
||||||
<arg value="-f2" />
|
<arg value="-f2" />
|
||||||
<arg value="-d"" />
|
<arg value="-d"" />
|
||||||
</exec>
|
</exec>
|
||||||
|
<exec executable="cut" osfamily="mac" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
|
||||||
|
<arg value="-f2" />
|
||||||
|
<arg value="-d""/>
|
||||||
|
</exec>
|
||||||
|
<exec executable="cut" osfamily="windows" inputstring="${versionLine}" outputproperty="release.number" failonerror="true" >
|
||||||
|
<arg value="-f2" />
|
||||||
|
<arg value="-d"\"""/>
|
||||||
|
</exec>
|
||||||
<echo message="Release number is ${release.number}" />
|
<echo message="Release number is ${release.number}" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user