This should work, littleman:
war {
into('lib') {
from 'lib'
}
}
Cheers,
Merlyn
On Sat, 2011-02-19 at 17:51 -0800, littleman wrote:
> I am using the war plugin and trying to copy a directory called 'lib' from my
> root gradle directory to the root directory of the WAR. If I do just
> from('lib') it copies only the contents of the 'lib' directory into the root
> directory of the WAR. How can I get it to copy the entire directory so that
> it keeps the contents of the 'lib' directory in a directory called 'lib'
> inside the WAR?
>
> Thanks.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email