Re: [Ikvm-developers] Classpath !!!
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2007-09-11 06:06:18
|
Steve Severance wrote:
> StatusHttpServer.class.getClassLoader().getResource("webapps");
Aha. That's the culprit. "webapps" is a directory, not an existing resource=
(on the file system, a directory is returned by getResource, but in a jar =
(or assembly) it isn't). You can try explicitly adding a bogus "webapps" re=
source and that *might* work (if the returned URL is consistently treated a=
s a URL and not as a file path).
Regards,
Jeroen
|