Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles)
Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles)
- Subject: Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles)
- From: Henrique Prange <email@hidden>
- Date: Thu, 30 Apr 2009 09:46:57 -0300
Hi Mike,
Copied from bug 5941664:
This problem occurs because of a conversion from URL to String in the
NSBundle class. The Java URLDecoder class could be used to solve this
problem. Below is a possible fix that could be done on
__exctractStringFromURL private method of NSBundle:
String urlPath = URLDecoder.decode( anURL.getPath(), "UTF-8" );
It is not a patch, but isn't it clear? :)
Cheers,
Henrique
Mike Schrag wrote:
(as an aside - wouldn't it be nice if this were an open source project
and we could see each other's bug reports and submit patches? - one
can only dream)
dream away, dreamer ... jad works great, though. always submit a patch
if you have one :)
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden