zyro,
I can confirm that STS does not work well with Grails snapshots > 1.2.0.M4. I've committed a patch to trunk that fixes this issue. You can try tomorrow's nightly snapshot of STS.
Thanks for raising this issue.
Christian
zyro,
I can confirm that STS does not work well with Grails snapshots > 1.2.0.M4. I've committed a patch to trunk that fixes this issue. You can try tomorrow's nightly snapshot of STS.
Thanks for raising this issue.
Christian
Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
hi christian,
good job. updated to sts snapshot and plugged in a fresh copy of grails-1.2.0-build-snapshot ... the plugins get linked into my projects.
once more congratulations for the damn quick reaction - AND - solution.
danke & grüße nach düsseldorf.
zyro
This time this solution didn't work.
I tried removing and re-creating the WORKSPACE_DIR/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders directory and that worked.
The directory contained these files before removing:Code:rm -rf .metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders mkdir .metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders
I think that the .location file was corrupted.Code:.location .markers.snap .syncinfo.snap
The problem might also be in a corrupted .metadata/.plugins/org.eclipse.jdt.core/.org.eclipse.jdt.core.external.folders/.project file which contains the link information to the grails working directory (~/.grails/1.2.0.RC1 in my case).
Agreed. I just tried with a fresh install of STS and tried to pull in a grails project from a previous version and then the same project without any eclipse .project files and in neither case does it find the jars for the plugins installed in the grails app.
I tried switching grails environments and refreshing the dependencies as well.
Looks like my problem was using one of the pre-installed STS groovy environments instead of the one in which the plugins were installed.
From the command line i was calling a 1.2.0 grails install, STS was offering me 1.2.1 and 1.2.2. Switching STS to my 1.2.0 fixed it.
Perhaps STS should inspect the user's ~/.grails directories for plugins and version information to help users with this?
grails eclipse-scripts plugin: Eclipse helper scripts for creating .classpath/.project files and for downloading sourcecode and javadocs and making them available in Eclipse
http://www.grails.org/plugin/eclipse-scripts