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 url
tp://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Development-Development+on+Windows
Cheers
Cheong Hee
Message: 9
Date: Wed, 29 Apr 2009 10:09:12 -0300
From: Henrique Prange
Subject: Re: Problem loading EOModel in a unit test on Windows
(NSBundle fails to load .jar bundles)
T
(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
_
Well, you're right - is it due to spaces in the path... but I still think
the problem is in __exctractStringFromURL(). The problem is this method
trims the 'path' component of a URL and later it is treated as if it were a
file path. One of the main differences between a URL's 'path' component and
a
Hi Jake,
The problem is caused by white spaces in the path. Do not put WO
libraries/projects on "C:\Documents and Settings".
I've reported the bug 5941664 on 16-May-2008 with a simple suggestion
about how to solve the problem. The issue is still open as you can see
in the attached screenshot
2. Shall I bother submitting a bug report via Radar (given that Mike
fixed the last bug I found before I'd managed to finish writing the
bug report)?
yeah .. because this one is annoying :)
ms
___
Do not post admin requests to the list. They will b
Today I finally decided to see if I could find out why our suite of EO unit
tests kept failing on Windows while passing on Mac OS X and Linux (don't ask
me why I'm using Windows).
All our EO unit tests have a common parent class that has a @BeforeClass
method that makes sure the EOModel has been lo