On Sat, Feb 27, 2010 at 7:42 AM, Peter Ledbrook <[email protected]>wrote:

> > Which was taken almost verbatim from the javadoc:
> >
> http://gradle.org/0.7/docs/javadoc/index.html?org/gradle/api/tasks/copy/CopySpec.html
> >
> > We are getting the following error:
> > Cause: No such property: ReplaceTokens for class:
> > org.gradle.api.internal.tasks.copy.CopySpecImpl
>
> You need to import the class:
>
>  import org.apache.tools.ant.filters.ReplaceTokens
>
> I don't think it's clear that this is an Ant class, so perhaps the
> documentation could do with a little improvement.
>

Or we should add those classes to the implicit imports.

- Hans

--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz


>
> Cheers,
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to