Howdy, folks. I'm a very happy Intellij user but am having some trouble figuring out a strategy for coping with configuration control in my project.
I'm using hibernate and need a configuration properties file in my classpath root so hibernate knows what database to use. Problem is, the contents of that file depend on two variables - the target database (local hsqldb, local mysql, test oracle, production oracle) and the client. Rather than maintain a cartesian product of separate properties files, I build the hibernate.properties file dynamically using ant.
That's fine and dandy unless I want to run my unit tests inside Intellij. Two questions come to mind:
1. Is there any way to make Intellij's unit test suite depend on an ant task?
2. Do y'all have other strategies for configuration control that you might suggest, especially ones that are IDE friendly?