https://bz.apache.org/bugzilla/show_bug.cgi?id=64643
Bug ID: 64643
Summary: PropertyFile Task operation can not handle int bigger
than 999
Product: Ant
Version: 1.10.5
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Having a simple script that increments build number on each execution :
<?xml version="1.0"?>
<project default="createBuildNumber" basedir=".">
<target name = "createBuildNumber">
<propertyfile file="build.number">
<entry key="build_number" type="int" operation="+"
value="1"/>
</propertyfile>
</target>
</project>
When number reaches 999 in the property file, the next one is not a number but
a String like this one : build_number=1\u00a0000
Best Regards,
Veselin
--
You are receiving this mail because:
You are the assignee for the bug.