Eclipse workspace sorts 'test' before 'main'

2009-08-26 Thread Sergey Beryozkin
Hi After updating the source and rebuilding the workspace I can see 'src/test' being sorted before 'src/main'. I'm wondering, what might've caused it ? cheers, Sergey

Re: Eclipse workspace sorts 'test' before 'main'

2009-08-26 Thread Sergey Beryozkin
I can't also run a JAXRS test in Eclipse which depends on AOP aspects, for some reasons aspectj is not added to the list of libraries even though it's in the list of dependencies in pom.xml... cheers, Sergey - Original Message - From: Sergey Beryozkin sbery...@progress.com To:

Re: Eclipse workspace sorts 'test' before 'main'

2009-08-26 Thread Benson Margulies
The jaxrs classpath is indeed ill in eclipse. On Wed, Aug 26, 2009 at 7:17 AM, Sergey Beryozkinsbery...@progress.com wrote: I can't also run a JAXRS test in Eclipse which depends on AOP aspects, for some reasons aspectj is not added to the list of libraries even though it's in the list of

Re: Eclipse workspace sorts 'test' before 'main'

2009-08-26 Thread Daniel Kulp
On Wed August 26 2009 6:14:24 am Sergey Beryozkin wrote: Hi After updating the source and rebuilding the workspace I can see 'src/test' being sorted before 'src/main'. I'm wondering, what might've caused it ? The new maven eclipse plugin did this. It's kind of on purpose to make it closer

Re: Eclipse workspace sorts 'test' before 'main'

2009-08-26 Thread Benson Margulies
I think some exclude's are needed On Wed, Aug 26, 2009 at 10:30 AM, Daniel Kulpdk...@apache.org wrote: On Wed August 26 2009 6:14:24 am Sergey Beryozkin wrote: Hi After updating the source and rebuilding the workspace I can see 'src/test' being sorted before 'src/main'. I'm wondering, what

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Josh Holtzman
Great, thanks Sergey. I just tried this, and wasn't able to read/write an arbitrary object. I've registered a MessageBodyReader and a MessageBodyWriter (actually, the same object) like so: FooXmlReaderWriter fooReaderWriter = new FooXmlReaderWriter();

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Sergey Beryozkin
Hi Josh Thanks, this is exactly how providers are expected to be registered. http://hudson.zones.apache.org/hudson/job/CXF-DOSGi shows my changes have been picked up so it's a bug then. Have you tries the lastest build from snapshots or built the trunk yourself, including a trunk/distributuon

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Josh Holtzman
Bah, my isReadable and isWriteable were wrong. Sorry, false alarm. This works like a charm! Thanks, Josh On Wed, Aug 26, 2009 at 6:16 PM, Sergey Beryozkin sbery...@progress.comwrote: Hi Josh Thanks, this is exactly how providers are expected to be registered.

Re: Integrating JAX-RS runtime into DOSGi

2009-08-26 Thread Sergey Beryozkin
Oh, this is exactly the sort of message I was in need for in the end of the long and difficult day :-) Cool. If you could verify (later on today or next week when you're back) that you could do Dictionary props = new Hashtable(); props.put(org.apache.cxf.rs.provider, new Object[]{new