groovy

groovy doesn't load ~/.groovy/lib

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0-beta-5
  • Fix Version/s: 1.0-beta-6
  • Labels:
    None
  • Environment:
    Debian GNU/Linux
  • Number of attachments :
    0

Description

The docs say groovysh/groovy/groovyConsole load jars from ~/.groovy/lib ... but they don't. *-classworlds.conf all have that load commented out.

Activity

Hide
Guillaume Laforge added a comment -

The line is commented out because there is a bug in Classworlds, which yields an NPE when the directory doesnt exist.
So first, create the directory.
Then uncomment the line in the Classworlds configuration files.
And you'll be able to store your libraries there

This bug is fixed in Classworlds' CVS HEAD, but there hasn't been any new release yet AFAIK.

Show
Guillaume Laforge added a comment - The line is commented out because there is a bug in Classworlds, which yields an NPE when the directory doesnt exist. So first, create the directory. Then uncomment the line in the Classworlds configuration files. And you'll be able to store your libraries there This bug is fixed in Classworlds' CVS HEAD, but there hasn't been any new release yet AFAIK.
Hide
Michael Ivey added a comment -

Perhaps a note in the docs is in order?

I only wasted an hour or two finding the problem. =)

Show
Michael Ivey added a comment - Perhaps a note in the docs is in order? I only wasted an hour or two finding the problem. =)
Hide
Guillaume Laforge added a comment -

Sorry about that, we'll have to fix the doc accordingly.
Thanks for spotting this.

Show
Guillaume Laforge added a comment - Sorry about that, we'll have to fix the doc accordingly. Thanks for spotting this.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: