| ANT task to process properties-files into static class | ANT task to process properties-files into static class 2007-01-02 - By Rapthor
Sorry, having confused you.
I have a file named global.properties. This file is edited manually by me. The webapplication loads this file into a java.util.Properties-instance at start.
Everywhere I use this Properties instance like "props.getProperty("myProp")" I have to check whether a "null" is returned or not. This check is at runtime! I wanted to see these at compile time. And that would be possible with a static class with attributes. -- View this message in context: http://www.nabble.com/ANT-task-to-process -properties-files-into-static-class-tf2909466.html#a8131908 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)
|
|
 |