Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
ANT task to process properties-files into static class

ANT task to process properties-files into static class

2007-01-02       - By Rapthor
Reply:     1     2     3     4     5     6     7     8     9     10     >>  



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.)
--
View this message in context: http://www.nabble.com/ANT-task-to-process
-properties-files-into-static-class-tf2909466.html#a8131316
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.