Re: xbean finder getURLs()

2013-04-25 Thread Romain Manni-Bucau
committed the fix, it needed a workaround for surefire which doesn't respect getURLs semantic with some config (the one of xbean for instance). i added a property to deactivate it too if needed. hope i didn't break anything *Romain Manni-Bucau* *Twitter: @rmannibucau

Re: xbean finder getURLs()

2013-04-25 Thread Kevan Miller
On Apr 25, 2013, at 9:25 AM, Romain Manni-Bucau wrote: > tested a bit perfs using AppClassLoader only (so it can be a bit different in > a JavaEE or OSGi envrt) > > single call: URLClassLoader => 654 vs getResources => 1130 (ms but the unit > is not important) > 1000 calls: 5503 vs 612621 >

Re: xbean finder getURLs()

2013-04-25 Thread Romain Manni-Bucau
tested a bit perfs using AppClassLoader only (so it can be a bit different in a JavaEE or OSGi envrt) single call: URLClassLoader => 654 vs getResources => 1130 (ms but the unit is not important) 1000 calls: 5503 vs 612621 i'll check our tests are still passing then commit the change if nobody sh

Re: xbean finder getURLs()

2013-04-25 Thread Kevan Miller
On Apr 17, 2013, at 3:22 AM, Romain Manni-Bucau wrote: > Hi, > > in org.apache.xbean.finder.UrlSet#getUrls we rely on META-INF (or "") to find > jars. There are cases where it doesn't work at all (a common case where i saw > it is when you only have META-INF/MANIFEST.MF which is consider for

xbean finder getURLs()

2013-04-17 Thread Romain Manni-Bucau
Hi, in org.apache.xbean.finder.UrlSet#getUrls we rely on META-INF (or "") to find jars. There are cases where it doesn't work at all (a common case where i saw it is when you only have META-INF/MANIFEST.MF which is consider for a single entry and not META-INF then MANIFEST.MF - depends the build t