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
