Yes, that is correct. When the java compiler compiles the code generated by xmlbeans from the schema(s), it uses what you pass in under the -cp option for the classpath, if the -cp option is used; and so you need xbean.jar there.
 
Wing Yew

From: sri [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 4:14 PM
To: user@xmlbeans.apache.org
Subject: Re: schema jars

thank you, we should also include the xbean.jar in the classpath

On 7/20/06, Cezar Andrei <[EMAIL PROTECTED]> wrote:

You have to compile base.xsd alone first, than compile schema1.xsd having the first generated jar on classpath.

 

scomp –out base.jar base.xsd

scomp –cp base.jar –out schema1.jar schema1.xsd

scomp –cp base.jar;schema1.jar –out schema2.jar schema2.xsd

 

Cezar

 


From: sri [mailto: [EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2006 9:09 AM
To: user@xmlbeans.apache.org
Subject: schema jars

 

I have a base schema base.xsd. there are two schemas schema1.xsd and schema2.xsd that import this base schema.

 

Is there a way to create the base jar first using the schema compiler and then include this in the class path so that the schema1.jar produced when compiling schema1.xsd or schema2.jar produced when compiling schema2.xsd do not contain the base classes

 

thank you

 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to