On Apr 7, 2009, at 11:53 AM, Jeppe Madsen wrote:

On Fri, Apr 3, 2009 at 9:19 PM, Adam Murdoch <[email protected]> wrote:
Hi,

I suspect you've run into http://jira.codehaus.org/browse/GRADLE-352

You could try ant.source(dir: "templates") instead



Sorry for the late reply. I tried your suggestion and it actually worked! Thanks..

Any explanation why "source" is special in this case?

Gradle extends the Groovy Script class and adds a source method with no arguments to it. Groovy interprets this in a, I think, surprising way. For 0.6 we will improve this in some way. 'source' will be definitely safe to use then.

- Hans

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





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

   http://xircles.codehaus.org/manage_email


Reply via email to