Re: [Codenarc-user] @Grab and IntelliJ IDEA
Brought to you by:
chrismair
From: Cédric C. <ced...@gm...> - 2011-03-01 09:22:23
|
It can be so. I didn't dig into @Grab resolving code, but from the stacktrace, NoClassDefFoundError just means that a dependency of some class is ivy so you may be right that it actually doesn't try to download anything. I didn't try to run a unit test with CodeNarc to check if this happens with a simple groovy file though. Le 01/03/2011 10:12, Hamlet D'Arcy a écrit : > To my knowledge, CodeNarc does not trigger an @Grab resolution. > > Do you think this can be caused by CodeNarc having a Class reference > to @Grab instead of a String reference to "groovy.Grab"? That is > probably what happens, is CodeNarc tries to convert this text into a > Class file, which loads the class. > > What do you think? > > |