28 June 2010

Tags: eclipse grails javadoc

After having searched half the internet for a solution, here’s the simplest one I’ve found for downloading the sources and the javadoc of dependencies in Grails :

grails install-plugin eclipse-scripts
grails download-sources-and-javadocs

Note that you actually don’t need to use Eclipse for this to work (I don’t). Unfortunately, Jetbrains’ IntelliJ IDEA will not recognize sources and javadocs automatically, so you’ll have to attach them manually. No magic trick for that. For those interested in this feature, please vote for it.

I’m quite astonished this feature is not bundled with Grails. It’s much more complicated to actually deal with third party libraries without access to either the documentation or the sources…

[edit]Jetbrains have fixed the issue, but only in IntelliJ IDEA X. Hope it’ll get backported to 9.0.x.

If you like this blog or my talks, consider helping me acquire astronomy equipment

comments powered by Disqus