users@jaxb.java.net

Re: Separate compilation with xs:include ?

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Fri, 20 Jul 2012 12:18:19 +0200

IIRC, this or similar was discussed before, not sure what resulted from it.

Is it a big problem if you simply ignore the "second edition"?

-W


On 20/07/2012, Noé Casas <ncasas_at_gmv.com> wrote:
> I am trying to use the/xjc/separate compilation mechanism
> <http://weblogs.java.net/blog/kohsuke/archive/2006/09/separate_compil.html>.
>
> I first compile an XML schema and bundle the resulting class files along
> with the episode in a jar file. Then I try to compile another schema
> that refers to the previous one, but although I follow the steps
> depicted in the documentation (i.e. I specify the first jar file as last
> argument in the invocation to/xjc/for the second schema), I don't manage
> to make/xjc/use the classes from another jar file, it keeps generating
> again the classes.
>
> As my schemas refer to the same namespaces, I usexs:include
> <http://www.w3schools.com/schema/el_include.asp>instead ofxs:import
> <http://www.w3schools.com/schema/el_import.asp>and I suspect this might
> be the problem.
>
> Does/xjc/separate compilation mechanism support xs:include ?
>
> (my environment consists of: xjc 2.1.10, java 1.6.0_24, SuSE Linux).
>
>
>
> ______________________
> This message including any attachments may contain confidential
> information, according to our Information Security Management System,
> and intended solely for a specific individual to whom they are addressed.
> Any unauthorised copy, disclosure or distribution of this message
> is strictly forbidden. If you have received this transmission in error,
> please notify the sender immediately and delete it.
>
> ______________________
> Este mensaje, y en su caso, cualquier fichero anexo al mismo,
> puede contener informacion clasificada por su emisor como confidencial
> en el marco de su Sistema de Gestion de Seguridad de la
> Informacion siendo para uso exclusivo del destinatario, quedando
> prohibida su divulgacion copia o distribucion a terceros sin la
> autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
> erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
> Gracias por su colaboracion.
>
> ______________________
>
>