tag:blogger.com,1999:blog-6917071644715743308.post3355499037140519251..comments2023-09-01T05:42:40.590-07:00Comments on Contraptions for programming: Getting GMaven to play nicely with Groovy-EclipseAndrew Eisenberghttp://www.blogger.com/profile/07897697507691706588noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6917071644715743308.post-74294746210677924072009-12-23T11:22:16.717-08:002009-12-23T11:22:16.717-08:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6917071644715743308.post-33261709116494056062009-12-15T08:15:06.123-08:002009-12-15T08:15:06.123-08:00Raised a jira for this:
http://jira.codehaus.org/b...Raised a jira for this:<br />http://jira.codehaus.org/browse/GMAVEN-61Andrew Eisenberghttps://www.blogger.com/profile/07897697507691706588noreply@blogger.comtag:blogger.com,1999:blog-6917071644715743308.post-81825835946086935212009-12-15T07:34:08.930-08:002009-12-15T07:34:08.930-08:00Andrew, same problem exists with IDEA and GMaven 1...Andrew, same problem exists with IDEA and GMaven 1.7. Have to run 'mvn clean' before every project re-import or I'm busted. Very annoying. Hopefully GMaven will fix this asap.Peter Niederwieserhttps://www.blogger.com/profile/07908150130912600539noreply@blogger.comtag:blogger.com,1999:blog-6917071644715743308.post-80949186873710654852009-12-15T06:57:02.944-08:002009-12-15T06:57:02.944-08:00Here is what I've been using for my groovy/jav...Here is what I've been using for my groovy/java projects. It works, but I would sure like a better solution as this requires me to run 'mvn clean' after eclipse:eclipse.<br /><br />Add the following execution to the gmaven-plugin:<br /><br />id: remove-groovy-stubs-from-classpath<br />phase: clean<br />goal: execute<br />configuration/source (wrap this in a CDATA tag):<br /><br /> // This groovy script will remove the groovy-stubs src inclusion from the .classpath <br /> try {<br /> def file = new File(pom.basedir, '.classpath')<br /> def s = ''<br /> file.eachLine { if (!(it =~ /groovy-stubs/)) {s += "${it}\n"} }<br /> file.write(s)<br /> } catch (FileNotFoundException e) {}shekhttps://www.blogger.com/profile/07525866812747556838noreply@blogger.com