Re: [Codenarc-user] @Grab and IntelliJ IDEA
Brought to you by:
chrismair
From: Hamlet D. <ham...@ca...> - 2011-03-01 09:24:40
|
That sounds like the problem. I'll try to test it locally. ----- Original Message ----- > 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? > > > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT > data in > Real-Time with Splunk. Collect, index and harness all the fast moving > IT data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new > business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Codenarc-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codenarc-user > |