Peter,

you are right. It works fine with the Java plugin. Now I understand
that the JavaPluginConvention.manifest method is called in the case
the  "manifest {}" construct is used in the root of the gradle script
(I mean outside of the Jar task).

Thanks for your help,
Bronislav Gabrhelik

2011/2/9 Peter Niederwieser <[email protected]>:
>
> All code examples in the user guide are automatically tested as part of the
> Gradle build, so this should work. Have you (implicitly or explicitly)
> applied the "java-base" or "java" plugin to the root project? Otherwise,
> project.manifest {} won't work (only jar.manifest {}). Maybe the
> documentation isn't clear on that.
>
> --
> Peter Niederwieser
> Developer, Gradle
> http://www.gradle.org
> Trainer & Consultant, Gradle Inc.
> http://www.gradle.biz
> Creator, Spock Framework
> http://spockframework.org
>
> --
> View this message in context: 
> http://gradle.1045684.n5.nabble.com/User-guide-Example-20-11-Creating-a-manifest-object-doesn-t-work-tp3377212p3377771.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to