On May 27, 2009, at 12:00 PM, Rwanou wrote:


Hi all,

Migrating from 0.5 to 0.6, i was upgrading my script with not much problem.
Anyway, I spent some time fixing my ant task, which uses a custom
configuration for a classpath.

Basicly, adding the configuration is no problem, but getting the
configuration as classpath wasn't so easy because of an error in the doc.

Here it is:
chapter 25.3, in example 25.2 the code listed is :
configurations.ftpAntTask.asPath()
where it should be
configurations.ftpAntTask.getAsPath()

Alternatively: asPath (without brackets).

Thanks for reporting this. It is now fixed in trunk and branch.

BTW: All our examples are compiled and many are actually tested for functionality. This one got just compiled. But (dynamic) Groovy complains about this only when you actually execute the task. We need to improve here. I have filed: http://jira.codehaus.org/browse/GRADLE-509

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org





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

   http://xircles.codehaus.org/manage_email


Reply via email to