Yep, that's the one. Sorry I didn't notice it before.
A good work around is to load the resource as an InputStream rather than as a file. Regards, Dave > -----Original Message----- > From: Oliver Heger [mailto:[EMAIL PROTECTED] > Sent: 20 September 2004 2:02 > To: Jakarta Commons Users List > Subject: Re: [Configuration] Problem getting resource in a JAR file > > > From your description it seems to me that you are referring to a known > bug, namely this one: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=30856 > > Could you verify if this is correct? The comments to this bug indicate > that a fix is on the way. > > Oliver > > David Leangen wrote: > > >Dear list, > > > >There appears to be a problem locating a resource when the resource is > >located in a JAR file. > > > >The path seems to somehow get used twice, ending up with this URL: > > > >K:\myproject\target\test\file:\K:\myproject\target\deliverables\j > ars\my-jar- > >SNAPSHOT.jar!\conf\test.xml > > > > > >When it should (I think) be this URL: > > > >file:\K:\myproject\target\deliverables\jars\my-jar-SNAPSHOT.jar!\ conf\test.x >ml > > > >Any ideas? > >I would gladly send more info, if required. > > >Thanks! >Dave > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
