At a Java level we add paths via LoadLibrary.addPath(String). This ends up also adding it to global $LOAD_PATH ($LOAD_PATH actually gets it's list from LoadLibrary). How do I specify a path which I want to only check the classpath and not external directories (getResource loading)?
Note this has two seperate aspects: 1. Java (LoadLibrary.addPath(path)) 2. Ruby $LOAD_PATH This entire thread has basically implied that we want the ability to specify a class-path only load directory. If we make it an internal Java-only thing that LOAD_PATH will not show those paths (which may be fine). -Tom On Thu, 26 Jan 2006, Charles O Nutter defenestrated me: > ClassLoader-only loading...what about using ClassLoader.getResource? > That will only pick things up from the classpath. Perhaps we're not > understanding the question? > > On 1/26/06, David Corbin <[EMAIL PROTECTED]> wrote: > > On Wednesday 25 January 2006 09:47 pm, Thomas E Enebo wrote: > > > > On 1/25/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: > > > > > So it sounds like we should add the ability to specify a > > > > > "classpath-only" directory specifier so we can allow people to set up > > > > > these embedded environments better. > > > > > > Anyone have ideas on how we should specific classpath-only paths? > > > This is asking about syntax and how we do it internally...I am not > > > coming up with anything good. > > > > $LOAD_PATH=[] > > > > > > I'd really like a better understanding of what you mean when you say > > "classpath only path". > > > > David > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > _______________________________________________ > > Jruby-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > Jruby-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jruby-devel -- + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
