I like the generalization of load path as being a URL...security issues abound as you mention, but there's some cool potential there. I think we're starting to see little bits of how we might be able to add to Ruby rather than just following now.
I say go for the URL format...it will do what we want and only a lunatic would be naming directories "classpath:". - Charlie On 1/26/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: > On Thu, 26 Jan 2006, Charles O Nutter defenestrated me: > > > Maybe something like "classpath:" to mimic the "jar:" file URL Java uses? > > > > Yeah I thought about that too...The jar: thing is URL specific...but > we could allow LOAD_PATH to see if it is a URL and extend Ruby to support > URLs (we sort of do with jar: right now [which is an odd feature to me]). > > Doing this is perhaps ambiguous in the pathologic case of specifying > a relative path that happen to be a scheme. In that case we can probably > say if you have a sub dir called 'classpath:' you want to add you must > do ./classpath: for it to work (like I said pathological). > > A neat ramification (which is also a scary one is we can generalize > this so that LOAD_PATHS of http://host/dir could work). Major $SAFE > level action if we decide to turn that one...Still a cool possibliity. > > -Tom > > -- > + 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&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
