This might be more of an
ANT or deployment question, but I'll start here. If it belongs elsewhere, we can move the
thread.
I've been putting assorted .properties files in the WEB-INF/classes directory, and it works fine.
But, I've checked in these files into SVN, and when a user does a checkout, they get the "standard" versions. And that may not be where we want to get them, or where they should be.
The problem is that I put lots of stuff in the properties, such as host name for SMTP servers, the Host and URL for
JDBC, usernames for the "from" field of outgoing email notices, etc. When I'm developing, I usually want to use a non-production set of values. And I can see that the marketing folks might want a copy on their laptops to show in demos. Clearly "production" wants real values.
What's a clean way to handle this?
Thanks
pat