Okay,
I'm confused, and I know part of it is my own fault. I started development with Xcode, have transitioned to WOLips and am building the app as a SSDD/WAR.
I know there is more than one way to define properties for my application, but I'm not sure I understand it all, or which way is the "Best Practice". I've looked in the Wiki and found some information, but I'm not sure I understand completely which goes where and if they are (not) flagged as resources.
So, I'm going to go through the list and see if I understand everything.
1) Properties - this file is the place to put config for the startup of the application. Framework Properties files are overridden by application Properties files. Must be in the Resources directory, and must be flagged as a Resource. Where do I find a list of all the possible properties? I'm sure they're defined somewhere in the WO doco, but I can't see, to find it.
2) log4j.properties - old format, replaced by log4j.xml
3) log4j.xml - the current format for configuring log4j. Must be in the Resources directory and marked as a Resource.
4) build.properties - used by Ant to define variables such as "project.name" Put in project root. Flagged as a Resource??
5) build.xml - defines the Ant build process. Put in project root, not flagged as a Resource??
Am I missing anything? Can someone give me more details on these? I'll be happy to add all this to the Wiki and cross-link it to anything already out there.
Thanks!
Dave
|