ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Voytitsky <...@sunbay.com>
Subject Ant 1.5.b1 + jakarta-ant-1.4.1-optional.jar
Date Wed, 22 May 2002 13:53:47 GMT
Hello All,

Are Ant 1.5.b1 and jakarta-ant-1.4.1-optional.jar compatible?

If `aren't` then skip rest of letter.

==================================
I have problem with <propertyfile>:

<target ...>
    <propertyfile file="a.xxx">
        <entry key="key" type="int" default="0" operation="+" />
    </propertyfile>
</target>

throws NPE (in 1.4.1. this target works fine)

[propertyfile] java.lang.NullPointerException
[propertyfile]  at java.text.DecimalFormat.parse(DecimalFormat.java:785)
[propertyfile]  at java.text.NumberFormat.parse(NumberFormat.java:282)
[propertyfile]  at org.apache.tools.ant.taskdefs.optional.PropertyFile$Entry.executeInteger(PropertyFile.java:441)
[propertyfile]  at org.apache.tools.ant.taskdefs.optional.PropertyFile$Entry.executeOn(PropertyFile.java:344)
[propertyfile]  at org.apache.tools.ant.taskdefs.optional.PropertyFile.executeOperation(PropertyFile.java:198)
[propertyfile]  at org.apache.tools.ant.taskdefs.optional.PropertyFile.execute(PropertyFile.java:185)
[propertyfile]  at org.apache.tools.ant.Task.perform(Task.java:313)
[propertyfile]  at org.apache.tools.ant.Target.execute(Target.java:309)
[propertyfile]  at org.apache.tools.ant.Target.performTasks(Target.java:334)
[propertyfile]  at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
[propertyfile]  at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
[propertyfile]  at org.apache.tools.ant.Main.runBuild(Main.java:605)
[propertyfile]  at org.apache.tools.ant.Main.start(Main.java:195)
[propertyfile]  at org.apache.tools.ant.Main.main(Main.java:234)

-- 
Best regards,
Eugene Voytitsky                          mailto:viy@sunbay.com


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message