3 Nov 2011 04:46
[groovy-user] Re: Error in generated stub
Andrew Eisenberg wrote: > >> Any further ideas or suggestions? > > Have you considered moving to the groovy-eclipse batch compiler from ant? > > See here for instructions on how to do it: > http://contraptionsforprogramming.blogspot.com/2010/09/where-are-all-my-stubs.html > > You will need to download the groovy-eclipse-batch jar from maven, here: > http://search.maven.org/#browse%7C-1075089063 > > I haven't done extensive testing with the batch compiler from ant, but > it should be working. Please let me know what your experience is. > Hello Andrew, Thank you for the suggestion. I finally had a chance to give it a try, but got stymied early in my attempts. Based on your configuration blog entry, I am trying to define the compiler as 'org.codehaus.groovy.eclipse.ant.GroovyCompilerAdapter', however it no longer appears to be included in the groovy-eclipse-batch.x.x.x-xx.jar file. The only class at that path is 'Activator'. The most deeply nested stack of the error encountered when executing the ant script: Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.eclipse.ant.GroovyCompilerAdapter at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1064) Did you have some alternate instructions, or a particular version of the distribution that you'd suggest I try? (I'm currently using Java 6u29 and Groovy 1.8.2, if that's important information.) I did download the 0.5.0 jar and verified the presence of the compiler adapter within it, but I suspect it's outdated beyond supporting the current language levels? -- View this message in context: http://groovy.329449.n5.nabble.com/Error-in-generated-stub-tp4954236p4960097.html Sent from the groovy - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
RSS Feed