On 6/28/05, James Carman <[EMAIL PROTECTED]> wrote: > Do you mean something like substituting in the database connection settings > (url, user, password)? HiveMind has SymbolSources which can be used for > this. You could create a SymbolSource which is based on a property file. > Then, you just substitute in your property file for your specific > environment. > > For this, I usually incorporate Velocity into my build system so that I can > create a file (or files) that is based upon values from my build.properties > file. That way, any customization goes on in one place, the > build.properties file. The problem with this is that you actually have to > run the build whenever you want to deploy your project to a new environment > using a new build.properties file specific to that environment, but in my > case, that hasn't been much of a burden. If you want the code for the > velocity task, let me know. >
What about if you want to inject a mock? Is there a way to do this without creating an entirely new configuration? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
