On 29/11/2010, at 11:04 PM, richardm wrote:
>
> Hi I am creating an ear file using a Zip type task e.g.
>
> task ear(type: Zip) {
>...
You'll need to use the Jar task. The Zip task does not understand about
manifests.
task ear(type: Jar) {
manifest {
// manifest stuff here
Hi,
I did it this way.
Cheers, Matthias
snip
configurations {
packageIntoEar {
description = "Files to be included in the EAR archive"
}
}
dependencies {
packageIntoEar project(':myproject1'),
project(':myproject2'), ... and so o
Hi I am creating an ear file using a Zip type task e.g.
task ear(type: Zip) {
...
}
How can I add a manifest file when doing this? I've tried adding a manifest
(as per the documentation for creating a Jar file), but it just get's
ignored. If I can't get this working I'll have to use the a