Ok I figured it out... 
Thanks Johannes

-----Original Message-----
From: Johannes Echterhoff [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 5:19 PM
To: user@xmlbeans.apache.org
Subject: Re: Using existing XmlBean jars when generating new ones

Hi.

Include jar for schema "A" (generated by XMLBeans) on the classpath when 
generating the jar for schema "B". Then you only have the classes for B 
in that jar.

Regards,
Johannes

Asaf Lahav schrieb:
>
> Hi all,
>
> The situation is like this.
>
> I have a schema "A" and I generated Xmlbeans for it.
>
> I have another schema "B" that imports schema "A" and references 
> element definitions of schema "A".
>
> When I generate xmlbeans for schema "B" the jar contains xmlbeans for 
> both schemas ("A" and "B") all over again.
>
> And then when ever I will have to make changes to schema "A" I will 
> have to regenerate all the xmlbeans jars using schema "A".
>
> Is there a way to use the already generated xml beans without 
> regenerating all the imported schemas when I generate xml beans for 
> schema "B"?
>
> Hope I was clear enough J.
>
> Thanks in advance,
>
> Asaf
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to