|
|
This post has NOT been accepted by the mailing list yet.
I have a set of environments that use a shared set of domain objects and services, but that I would like to build out as separate WARs with separate plugins and minor variations in controllers/services.
One environment is purely a RESTful server while another is a web environment that also does things like send emails, etc.
I would love to have a single codebase that allows me to choose which which controllers, services and plugins from this shared set get bundled into each WAR.
Currently I have a few Environments defined, but I have not found any way to choose the plugins/controllers/services in a clean way (I can always delete them from the WAR in BuildConfig.groovy).
I am currently on Grails 2.0.4 and would like to minimize the size of the WAR and resources it consumes on the target environment (no need to run JMS queues on the RESTful side whereas I use them for email on the web side).
Any thoughts greatly appreciated
|