Peter is right. This is a classic case of where the previous dynamic property behaviour is problematic.
The GroovyDoc task simply does not have those options, so setting them has no effect. On 15/03/2012, at 1:09 AM, Russel Winder <[email protected]> wrote: > I have just upgraded the Gant build to Gradle 1.0-milestone-9 which has > been, unexpectedly, something of a mission -- due to the script binding > issues which were the focus of an earlier message (*). The problem I am > left with relates to the groovydoc task. Till now I had: > > groovydoc { > packageNames = [ 'gant.*' , 'org.codehaus.gant.*' ] > overview = 'overview.html' > includePrivate = false > encoding = 'UTF-8' > use = true > author = 'true' > version = 'true' > windowTitle = packageTitle > docTitle = packageTitle > header = packageTitle > footer = copyrightString > } > > which seemed to work fine -- well as much as GroovyDoc works that is. > With Gradle 1.0-milestone-9 I now get: > > > Dynamic properties have been deprecated (property "packageNames" on the > object "task ':gant:groovydoc'" with value "[gant.*, org.codehaus.gant.*]" > created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "encoding" on the object > "task ':gant:groovydoc'" with value "UTF-8" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "author" on the object > "task ':gant:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "version" on the object > "task ':gant:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "packageNames" on the > object "task ':gant_groovy1.7:groovydoc'" with value "[gant.*, > org.codehaus.gant.*]" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "encoding" on the object > "task ':gant_groovy1.7:groovydoc'" with value "UTF-8" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "author" on the object > "task ':gant_groovy1.7:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "version" on the object > "task ':gant_groovy1.7:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "packageNames" on the > object "task ':gant_groovy1.8:groovydoc'" with value "[gant.*, > org.codehaus.gant.*]" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "encoding" on the object > "task ':gant_groovy1.8:groovydoc'" with value "UTF-8" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "author" on the object > "task ':gant_groovy1.8:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "version" on the object > "task ':gant_groovy1.8:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "packageNames" on the > object "task ':gant_groovy2.0:groovydoc'" with value "[gant.*, > org.codehaus.gant.*]" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "encoding" on the object > "task ':gant_groovy2.0:groovydoc'" with value "UTF-8" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "author" on the object > "task ':gant_groovy2.0:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > Dynamic properties have been deprecated (property "version" on the object > "task ':gant_groovy2.0:groovydoc'" with value "true" created). > See: > http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html > > > which I don't understand. Also things actually work as they did before. > > Anyone any ideas? > > Thanks. > > > > (*) Thanks to Guillaume, Luke, and others whose replies I have failed to > see in my email but managed to get from GMane. > -- > Russel. > ============================================================================= > Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] > 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] > London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
