• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles) (From: Jake MacMullin <email@hidden>)
 >Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles) (From: Henrique Prange <email@hidden>)
 >Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles) (From: Jake MacMullin <email@hidden>)
 >Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles) (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: WWDC sold out, WOWODC hotel booking for weekend or streaming?
  • Next by Date: Re: WWDC sold out, WOWODC hotel booking for weekend or streaming?
  • Previous by thread: Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles)
  • Next by thread: WOSessionStore deadlock
  • Index(es):
    • Date
    • Thread