>> srcDir() is just an alias for srcDirs(), which is supposed to add the
>> directory. What does sourceSets.main.groovy.srcDirs contain after this
>> closure has executed?
>
> This seems to be working now, but then I just installed the latest
> snapshot. May have been user error, or may have been a bug that's
> fixed. I'll keep an eye out for any other problem.
OK, the srcDirs property seems to be configured fine, but if I have
something like this:
def grailsAppDirs = file("grails-app").listFiles({ f -> f.directory
} as FileFilter)
srcDirs grailsAppDirs, "src/groovy"
srcDir("src/java")
srcDir(".").include("*GrailsPlugin.groovy")
only the *GrailsPlugin.groovy file is compiled. All other source files
are ignored by compileGroovy (and maybe compileJava too).
Cheers,
Peter
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email