Hi,

I'm struggling to get ant.apply actually work in my build script.
I'm fairly new to Gradle so please bear
with me, maybe I'm just missing something really obvious.

Just for toying around, I wanted to start simple and invoke the 'ls' command
(I realize Ant has
built-in functions for file listings, but anyway), so what I did is this:

task antTest << {
    ant.apply(executable: '/bin/ls') {
        arg(value: '-l')
    }
}

$gradle antTest

Execution failed for task ':antTest'.
Cause: no resources specified

What is that supposed to mean? What resources would I have to supply to
the 'ls' command? According to the official docs, the executable name is
the only required argument for apply.

Any ideas?

Thanks
-Matthias


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

    http://xircles.codehaus.org/manage_email


Reply via email to