Hi I am a new user of gradle... looking really cool.. But am running into a
problem please can you help?

I have a simple compile task as follow:

createTask('compileGeneratedCode', dependsOn: javacc) {
    ant.javac(srcdir: buildSrc, destdir: buildClasses, includes: '*.java')
}

but when i run the task no source was compiled even though the src was
located in the correct dir. Here is the debug output:
21:40:13.442 [main] INFO  org.gradle.api.internal.AbstractTask -
:compileGeneratedCode
21:40:13.442 [main] DEBUG org.gradle.api.internal.AbstractTask - Executing
Action:
21:40:13.443 [main] DEBUG o.g.g.s.DefaultProjectScriptMetaData - Project: :
Method ant not found in script! Delegating to project.
21:40:13.450 [main] DEBUG org.gradle.api.logging.LogLevel -
[ant:antlib:org.apache.tools.ant] Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.
21:40:13.483 [main] DEBUG org.gradle.api.logging.LogLevel - fileset: Setup
scanner in dir /Users/charlesl/Development/groovy/sas4g/build/src with
patternSet{ includes: [*.java] excludes: [] }
21:40:13.501 [main] DEBUG org.gradle.api.logging.LogLevel - [ant:javac] No
sources found.
21:40:13.502 [main] DEBUG org.gradle.api.internal.AbstractTask - Finished
executing Task: :compileGeneratedCode


I am using groovy 1.6-RC-1, mac OSX, java 1.6, ant 1.7.1

Any ideas will be great
Charlie

-- 
http://finker.wordpress.com/

Reply via email to