I think you'll find overlays as a smaller solution than adding in multiple
profiles to support multiple hosts.

The reality is you should be abstracting out these things so that you don't
need them any more and one universal war is all that is required.

-Stephen

On 30 August 2010 09:27, <[email protected]> wrote:

> > Hey Mike,
> >
> > I would create a module for each war (and probably one for the war
> > with no context.xml) and then make use of the "overlays" as described
> > here: http://maven.apache.org/plugins/maven-war-plugin/overlays.html
> >
> > With this a war can depend on another war and you can overwrite / add
> > / remove things at will. Adding the context.xml should be really easy.
>
> Samuel,
>
> I already thought about overlays but this seems to be a bit oversized for
> just replacing one file. Additionally, what happens if I would have four
> instead of two hosts in the future?
>
> Overlays would be my last resort.
>
> Thanks, I will take this into my consideration.
>
> Mike
> --
> Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
> Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to