Anyone know how to configure Eclipse or Netbeans to use the ivy cache Grails creates via its dependency resolution DSL (BuildConfig.groovy file), similar to how a Maven2 repo is automatically used?
In your home folder there will by a directory called .ivy2 which contains a maven like structure. You'll need to use the libraries specified there for the classpath for Eclipse/Netbeans. So just add the JAR's you need to your classpath as you would any other project. That said, I'm surprised Netbeans, at the very least, doesn't do this automatically for you.
Gregg Bolinger wrote:...So just add the JAR's you need to your classpath as you would any other project. That said, I'm surprised Netbeans, at the very least, doesn't do this automatically for you.
On a related note, IDEA does this automatically.
I've got quite a few deps, so I was hoping that either Eclipse or Netbeans could load the jars onto the classpath automatically; but sadly it seems they don't have the ability to. Guess I'm stuck loading the jars manually...
This message was edited 1 time. Last update was at by Dan King
subject: How to use Grails' (ivy) dependency cache in IDE?