ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sayatovic, Brian" <Brian.Sayato...@divine.com>
Subject RE: Trouble with PropertyFile
Date Tue, 28 May 2002 18:00:45 GMT
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:jakarta-ant@ehatchersolutions.com]
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" <holtdl@yahoo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Tuesday, May 28, 2002 11:21 AM
Subject: RE: Trouble with PropertyFile


> --- "Sayatovic, Brian" <Brian.Sayatovic@divine.com> 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
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


--
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