My project context files are organized like this:
-applicationContext.xml: generic bean definition (not infrastructure dependent)
-envProduction.xml: datasource/transactionmanager/mailserver for production environment
-envStaging.xml: datasource/transactionmanager/mailserver for staging environment
These context files can be combined into two different meaningful sets:
-envProduction.xml + applicationContext.xml -> complete production environment
-envStaging.xml + applicationContext.xml -> complete staging environment
How should I map this onto the "config set" abstraction of SpringIde?
I assume I can create two config sets, one for production, another one for staging.
But the thing I'm looking for is a "Set as Current" option for a config set.
Otherwise I'll end up with duplicate bean ids in the "combined set". (both envProduction and envStaging define a transaction manager, for instance)


Reply With Quote

