Author Login
Post Reply
Hello,
After a long, long time, I finally get to spend some time again with
Groovy. I've installed M1 of the Groovy plugin (I tried with the dev
build 1117, too). I'm using the m2eclipse plugin to manage my
dependencies and I'm using a property to redirect the build path
(inside Eclipse, I'm building to "target-eclipse/", from the command
line, I'm building to "target/").
When I work with the project in Eclipse, I get this error for all
.groovy files in the src/main/groovy/ folder:
The type ... is already defined.
I don't get this error for .java files and I don't get it for anything
in the folder src/test/groovy/.
The error goes away when I remove
"target-eclipse/generated-sources/groovy-stubs/main/" from the build
path. So it seems that someone (probably the Groovy compiler) sees the
generated stubs and tries to compile them again.
Any ideas what I should do? Is it safe to remove this path?
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/ http://blog.pdark.de/
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email