Hey, What version of gradle do you use? Can you use milestone-3 instead? :)
Cheers! On Wed, Jun 8, 2011 at 12:35 AM, strayph <[email protected]> wrote: > > Following is a simple case, with a brand new gradle script: > > Strayphs-MacBook-Pro:~ strayph$ mkdir plugin_conflict > Strayphs-MacBook-Pro:~ strayph$ cd plugin_conflict/ > Strayphs-MacBook-Pro:plugin_conflict strayph$ cat > build.gradle > apply plugin: 'war' > apply plugin: 'eclipse' > > dependencies { > compile fileTree (dir: 'lib', includes: ['*.jar']) > } > ^D > Strayphs-MacBook-Pro:plugin_conflict strayph$ less build.gradle > Strayphs-MacBook-Pro:plugin_conflict strayph$ mkdir lib > Strayphs-MacBook-Pro:plugin_conflict strayph$ touch lib/fake_lib.jar > Strayphs-MacBook-Pro:plugin_conflict strayph$ gradle eclipse > :eclipseConfigurer > > FAILURE: Build failed with an exception. > > * What went wrong: > Execution failed for task ':eclipseConfigurer'. > Cause: Cannot cast object > '[/Users/strayph/plugin_conflict/lib/fake_lib.jar]' w\ > ith class 'java.util.ArrayList' to class 'java.util.LinkedHashSet' due to: > groo\ > vy.lang.GroovyRuntimeException: Could not find matching constructor for: > java.u\ > til.LinkedHashSet(java.io.File) > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug\ > option to get more log output. > > BUILD FAILED > > Total time: 3.398 secs > > > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Plugin-Conflict-war-and-eclipse-fail-with-compile-fileTree-tp4463299p4463299.html > Sent from the gradle-user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Szczepan Faber Principal engineer@gradleware Lead@mockito --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
