You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Gianny Damour <gi...@optusnet.com.au> on 2008/01/13 12:43:41 UTC

JAXB Types - How to generate them?

Hello,

I have done a couple of changes to geronimo-openejb.xsd and I need to  
generate new JAXB types in the package org.apache.openejb.jee.oejb2.  
Can someone point me to the JAXB configuration file I need to use  
along with the JAXB impl. I should use?

Thanks,
Gianny

Re: JAXB Types - How to generate them?

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Thanks for clarifications Jacek :)

On Jan 15, 2008 3:34 PM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:

> On Jan 15, 2008 1:23 PM, Mohammad Nour El-Din <no...@gmail.com>
> wrote:
> > Why this tree can' be re-generated DBlevins ?
>
> It's because there're some manual changes to the way these generated
> jaxb types work that would be overwritten upon re-generation, e.g.
> past-2.1 mdb activation specs vs their pre-2.1 counterparts.
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>



-- 
Thanks
- Mohammad Nour

Re: JAXB Types - How to generate them?

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Jan 15, 2008 1:23 PM, Mohammad Nour El-Din <no...@gmail.com> wrote:
> Why this tree can' be re-generated DBlevins ?

It's because there're some manual changes to the way these generated
jaxb types work that would be overwritten upon re-generation, e.g.
past-2.1 mdb activation specs vs their pre-2.1 counterparts.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Re: JAXB Types - How to generate them?

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Why this tree can' be re-generated DBlevins ?

On Jan 14, 2008 12:20 AM, David Blevins <da...@visi.com> wrote:

>
> On Jan 13, 2008, at 3:43 AM, Gianny Damour wrote:
>
> > I have done a couple of changes to geronimo-openejb.xsd and I need
> > to generate new JAXB types in the package
> > org.apache.openejb.jee.oejb2. Can someone point me to the JAXB
> > configuration file I need to use along with the JAXB impl. I should
> > use?
>
> That tree can't be reproduced via generation.  Just go ahead and add
> them by hand and make sure you update the test cases to add the new
> elements to the test xml files.
>
> -David
>
>


-- 
Thanks
- Mohammad Nour

Re: JAXB Types - How to generate them?

Posted by David Blevins <da...@visi.com>.
On Jan 13, 2008, at 3:43 AM, Gianny Damour wrote:

> I have done a couple of changes to geronimo-openejb.xsd and I need  
> to generate new JAXB types in the package  
> org.apache.openejb.jee.oejb2. Can someone point me to the JAXB  
> configuration file I need to use along with the JAXB impl. I should  
> use?

That tree can't be reproduced via generation.  Just go ahead and add  
them by hand and make sure you update the test cases to add the new  
elements to the test xml files.

-David