On Fri July 31 2009 2:32:37 pm Raymond Feng wrote:
> Thanks for the update. It sounds like good progress.
>
> A few questions:
>
> 1) Is there a good reason that the SDO code generator is in the runtime
> module?

Well, going forward, we're trying to keep everything for a particular 
databinding together.   All the sdo stuff is in one place, all the xmlbeans in 
one place, etc....   Mostly just easier to maintain.     JAXB is the major 
exception right now.   :-(

> Can we use it without dragging in the CXF runtime?

All the "runtime" parts that aren't required by the tooling are "test" scope 
deps in the pom now.   Basically, what we do is compile src, run the wsdl2java 
stuff to generate a bunch of tests classes, compile them, and then run some 
runtime tests to make sure the generated code actually works.   Between the 
test compile and the actual tests, we at least know the generated code 
compiles and that it's usable from a runtime standpoint.  

> 2) I cannot build the module as either
> org.apache.cxf:cxf-parent:pom:2.3.0-SNAPSHOT is not published in Apache
> snapshot repo or the pom doesn't have the repo configured.

Normally, we don't have it in each pom as we kind of assume a full 
checkout/build of CXF.   I've gone ahead and added a repository entry in the 
pom for sdo databinding so you can play with it if you want.

Dan



>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Daniel Kulp" <[email protected]>
> Sent: Friday, July 31, 2009 8:16 AM
> To: <[email protected]>
> Subject: Re: SDO wsdl2java plugin copied to CXF.....
>
> > Just a quick update on this.....
> >
> > I've updated the SDO stuff in cxf to pull the schemas from the
> > XmlSchemaCollection we've already parsed and processed.   Thus, it
> > doesn't need to handle imports or wsdl things or catalogs or anything
> > like that as we've already done it.   Thus, that part is now done.
> >
> > I've also figured out how to get the interfaces and factory classes into
> > the
> > ClassCollector.   Thus, it's looking pretty good now.   Obviously, I need
> > to
> > do a lot more testing with more complex scenarios and such, but as a
> > "base",
> > it's looking pretty good.
> >
> > On a side note, we also have a JAX-RS provider working with the SDO
> > databinding in CXF.   :-)
> >


-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to