Hi all,
(using gradle 0.8).
I have a fairly common (I think) use case - we have a single WAR which exposes
an integration point for external systems. Different clients have different
external systems, so when I build the project for clientA I want the WAR file
to include the clientA extensions, for clientB I want.....you get the picture :)
At the moment clientA has its own project which gets hold of the WAR, extracts
it, inserts itself into /WEB-INF/lib and then re-jars the WAR file. This is a
bit yucky.
I am considering turning it the other way around and adding a task in the WAR
project which, depending on some condition will dynamically add a dependency,
so if the 'client' property = clientA it will add a dependency to the clientA
JAR.
What do other people do in this scenario?
Many thanks,
Col
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email