From: Luke H. <ruk...@gm...> - 2006-09-08 20:52:54
|
There's a small bug in Pathname.java (cvs version). My code: Interpreter interpreter = Interpreter.createInstance(); for(int i = 0; i < resources.length; i ++) { java.net.URL resource = Loader.class.getResource(resources[i]); System.out.println(resource.getProtocol() + " + " + resource.getPath()); Load.load(new Pathname(resource), resources[i], true, true, true); } Returns: file + /home/lhope/cvs/takeheart/takeheart/lisp/util.abcl Debugger invoked on condition of type ERROR: Unsupported URL: "file:/path/to/util.abcl" [1] CL-USER(1): The problem seems to be that Pathname.java:75 checks whether URL.getPath() starts with "file:" which it never does. -Luke |