Somehow, I managed to work around this:
<propertyfile file="${version.file}" comment="Version information">
<entry key="version.build" default="00000" value="1" type="int"
operation="+" pattern="00000"/>
</propertyfile>
This successfully works with no NullPointerExceptions. Still, I'm glad the fix is on
its way.
Regards,
Brian.
-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 11:35 AM
To: Ant Users List
Subject: Re: Trouble with PropertyFile
I will fix this bug before beta2 is built... probably tonight actually.
Erik
----- Original Message -----
From: "Diane Holt" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 11:21 AM
Subject: RE: Trouble with PropertyFile
> --- "Sayatovic, Brian" <[EMAIL PROTECTED]> wrote:
> > OK< I see that it is a bug -- and I didn't realized someone had updated
> > the shared ant installation to 1.5.9 (I thought it was still 1.4.1).
> >
> > But is the bug that it doesn't check for null, or that the value isn't
> > getting set?
>
> Yes, that's the question -- and it's why I haven't put my fix through yet
> (well that, and not having dealt with the testcases). Adding the test for
> null stops the hitting of the NPE, but is it the real fix, or is there a
> bug before that point that should actually be the fix (so that "value"
> would never be null at that point)? I don't have the time at the moment
> to walk through all that code to find the answer, so if you (or anyone
> else) would like to, that'd be great.
>
> Diane
>
> =====
> ([EMAIL PROTECTED])
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>