Peter Ledbrook wrote:
I get the same failure when I don't have a build.gradle file in the buildSrc
directory. It looks like we've broken the default build script for the
buildSrc directory. I'll have a bit more of a dig to figure out a fix. I've
added a JIRA issue for this: http://jira.codehaus.org/browse/GRADLE-318
    

Internally, the tasks "clean", "resources", and "compile" are executed
in that order (for the default build). So, I guess the compile task
should either depend on something that creates the output directory,
or it should create it itself. I don't know which is more appropriate.

Actually, looking at the code the problem seems to be that the
GroovyCompile task is invoked rather than Compile. Although the former
extends the latter, it does not call super.compile(task). Nor does it
explicitly create the output directory (which Compile does).

  

I think this is exactly the problem. It is fixed in the trunk now.


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

Reply via email to