ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <>
Subject Re: ANT task to process properties-files into static class
Date Tue, 02 Jan 2007 21:45:52 GMT
Sorry, I'm not sure I follow your problem...  Do you mean Ant should 
somehow generate a properties file based upon your build.xml 
properties?  Who sets the properties and how is this null pointer being 
raised?  I am a "wee" bit confused ;)

Rapthor wrote:
> Scot P. Floess wrote:
>> If a property does not exist, why is a null pointer thrown?  I assume 
>> you mean java.util.Properties?  If so, that does not raise a null 
>> pointer exception.
> You are right ... the NullPointerException would be thrown if I relied on a
> value read from the Properties instance. (If no matching key was present in
> the file.)

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate
Chief Architect JavaPIM

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message