$CLASSPATH is nil - setting it has no effect
--------------------------------------------

                 Key: JRUBY-4797
                 URL: http://jira.codehaus.org/browse/JRUBY-4797
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.5
            Reporter: Aslak Hellesøy
            Priority: Critical


I need to put a directory (not a jar) on the classpath. In JRuby 1.4 and prior 
I could do:

$CLASSPATH << 'target/classes' # contains foo/Bar.class
bar = Java.foo.Bar.new # Works great on 1.4, class not found on 1.5.

Since $CLASSPATH is nil I tried this:

$CLASSPATH = ['target/classes']

-but this has no effect. The foo.Bar class is still not found.

The release notes don't mention that there is an alternative way to do this, so 
I'm assuming it's a regression.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to