Yes, ArchiveTask.merge() with include()/exclude() is the way to go.

http://buildr.apache.org/rdoc/classes/Buildr/ArchiveTask.html#M000673

alex

On Tue, Sep 20, 2011 at 9:24 AM, Chris Adams <[email protected]> wrote:

> Hi,
>
> This email comes from one of our developers, but he was having trouble
> posting to the user group for some reason.
>
> -----
> I have been searching and reading the buildr source trying to figure out
> the
> best way to do the equivalent of a war overlay in maven. The closest I
> could
> come up with is to:
>    - Create a list of sources relative to the project root
>    - merge in the war I wish to overlay, excluding the sources that were
> discovered.
>
> Does buildr have any similar mechanism for war overlays or recommended
> approach(es)?
>
> Any advice would be appreciated.
>
> -Doug <[email protected]>
>

Reply via email to