On 5/02/10 11:30 PM, wpfeiffe wrote:
How do I write out the manifest to my src/main/resources dir such that the
IDE (in my case Idea, but it could be any IDE) can package it when it does
its own exploded deployment.


There is a 'manifest' property, which defines the manifest to be included in the jar. You can write it out to a file using something like:

file('src/main/resources/META-INF/MANIFEST.MF').withOutputStream { outstr ->
    manifest.createManifest().write(outstr)
}


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to