|
Re: Groovy and class reference resolver: msg#00176lang.groovy.user
Hi Cleverton, You have three options I know of: 1. drop jars into GROOVY_HOME/lib 2. add entries to $GROOVY_HOME/conf/groovy-classworlds.conf (or other classworld conf files in there, depending which groovy tool your're working with) 3. use the command line -cp or -classpath options Options 1 and 2 seem are just essentially different ways to achieve the same runtime. But option 2 allows cleaner separation of Groovy and your 3rd party libs. Option 3 seems to add the jars to the JVM system classpath, which may work for your needs, or may cause you CNFExceptions if your classes depend on anything loaded under GROOVY_HOME/lib. YMMV. See my blog entry on integrating Ant and Groovy for related info (and why option 3 isn't good for Ant integration): http://users.rcn.com/scottstirling/dev/2004/11/groovy-and-ant- integration-gravy.html Scott Stirling Framingham, MA On Nov 24, 2004, at 2:36 PM, Cleverton Hentz wrote: Hi,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Groovy and class reference resolver, Cleverton Hentz |
|---|---|
| Next by Date: | Re: Groovy and class reference resolver, Marc Hedlund |
| Previous by Thread: | Groovy and class reference resolver, Cleverton Hentz |
| Next by Thread: | Re: Groovy and class reference resolver, Marc Hedlund |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |