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 FooReade

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 wrote: > Hi Josh > > Thanks, this is exactly how providers are expected to be registered. > http://hudson.zones.apache.org/hudson/job/CXF-D

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
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(); context.registerService(MessageBodyR

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

2009-08-26 Thread Daniel Kulp
OK. This should now be fixed. I've updated the eclipse plugin config to specify none which should turn off the plugins stupid/broken filtering that is causing the aspect stuff to be removed. Dan On Wed August 26 2009 7:17:05 am Sergey Beryozkin wrote: > I can't also run a JAXRS test in Ec

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

2009-08-26 Thread Benson Margulies
I think some 's are needed On Wed, Aug 26, 2009 at 10:30 AM, Daniel Kulp 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 might've caused

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 clos

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 Beryozkin 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 dependencies in pom.xml

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" To: Sent: Wednesday, August 26

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