Dependencies from griffon plugins as dependencies in IntelliJ ?

Hi,

I am using Griffon 0.9.4 with IntelliJ 10.5.2. I installed FEST support by using:

griffon install-plugin fest

After that I created a FEST unit test with:

griffon create-fest-test

If I open the created test file, the imports are in red:

import org.fest.swing.fixture.*
import griffon.fest.FestSwingTestCase


Should IntelliJ automatically add the dependencies to the project? If not, what is the best way to add them?

regards,

Wim
3 comments
Comment actions Permalink

I'd also like to know the best way around this.  (IntelliJ 11.1.1, Griffon 0.9.5, Jung plugin 0.5)

0
Comment actions Permalink

The workaround is to add fest-9.0/dist/*.jar as library manualy.



Attachment(s):
a.png
0
Comment actions Permalink

Thanks!  I wound up creating global libraries manually by looking at the jar names in the griffon install-plugin output and finding them in my $HOME/.ivy2/cache.

Next time I'll see if the jars are already in griffonPlugins; creating a library from there, as you show, looks like it would be a lot easier.  I never looked for them there because I assumed that if IntelliJ already knew about them, then I wouldn't need to manually add a library.

0

Please sign in to leave a comment.