Re: [gradle-user] manifest in ear file

2010-11-29 Thread Adam Murdoch
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

Re: [gradle-user] manifest in ear file

2010-11-29 Thread Matthias Bohlen
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

[gradle-user] manifest in ear file

2010-11-29 Thread richardm
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