You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Giedrius Trumpickas <tr...@gmail.com> on 2005/10/14 19:53:47 UTC
Schema depenencies
Hi,
I have following situation:
I have 2 schemas A and B. B depends on A because it uses some types from A.
Now when compiling schema B, xmlbeans schema compiler compiles schema
A as well to the jar. Is it possible to compile schema A to separate
jar and somehow instruct xmlbeans schema compiler to use that jar when
compiling schema B. And have two jars a.jar and b.jar
and jar b does not have schema A info compiled inside.
Thanks,
Giedrius
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: Schema depenencies
Posted by Giedrius Trumpickas <tr...@gmail.com>.
Sorry fort confusion. Actually it does work.
Thanks for a help!
On 10/19/05, Giedrius Trumpickas <tr...@gmail.com> wrote:
> Hi,
>
> I have tried this aproach. I'm compiling schemas with ANT task. But it
> looks like schema types are compiled even if jar with compiled xbeans
> already on classpath.
>
> Thanks,
>
> Giedrius
>
>
> On 10/18/05, Kevin Krouse <kk...@apache.org> wrote:
> > Yes, you can compile A.xsd into A.jar then put it on the classpath when
> > compiling B.xsd.
> >
> > Kevin
> >
> > Johannes Echterhoff wrote:
> > > Hi.
> > > I am also interested in this question - is there nobody who can answer it?
> > > Regards,
> > > Johannes
> > >
> > > Giedrius Trumpickas wrote:
> > >
> > >> Hi,
> > >>
> > >> I have following situation:
> > >>
> > >> I have 2 schemas A and B. B depends on A because it uses some types
> > >> from A.
> > >>
> > >> Now when compiling schema B, xmlbeans schema compiler compiles schema
> > >> A as well to the jar. Is it possible to compile schema A to separate
> > >> jar and somehow instruct xmlbeans schema compiler to use that jar when
> > >> compiling schema B. And have two jars a.jar and b.jar
> > >> and jar b does not have schema A info compiled inside.
> > >>
> > >> Thanks,
> > >>
> > >> Giedrius
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> > >> For additional commands, e-mail: user-help@xmlbeans.apache.org
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> > > For additional commands, e-mail: user-help@xmlbeans.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> > For additional commands, e-mail: user-help@xmlbeans.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: Schema depenencies
Posted by Giedrius Trumpickas <tr...@gmail.com>.
Hi,
I have tried this aproach. I'm compiling schemas with ANT task. But it
looks like schema types are compiled even if jar with compiled xbeans
already on classpath.
Thanks,
Giedrius
On 10/18/05, Kevin Krouse <kk...@apache.org> wrote:
> Yes, you can compile A.xsd into A.jar then put it on the classpath when
> compiling B.xsd.
>
> Kevin
>
> Johannes Echterhoff wrote:
> > Hi.
> > I am also interested in this question - is there nobody who can answer it?
> > Regards,
> > Johannes
> >
> > Giedrius Trumpickas wrote:
> >
> >> Hi,
> >>
> >> I have following situation:
> >>
> >> I have 2 schemas A and B. B depends on A because it uses some types
> >> from A.
> >>
> >> Now when compiling schema B, xmlbeans schema compiler compiles schema
> >> A as well to the jar. Is it possible to compile schema A to separate
> >> jar and somehow instruct xmlbeans schema compiler to use that jar when
> >> compiling schema B. And have two jars a.jar and b.jar
> >> and jar b does not have schema A info compiled inside.
> >>
> >> Thanks,
> >>
> >> Giedrius
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> >> For additional commands, e-mail: user-help@xmlbeans.apache.org
> >>
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> > For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: Schema depenencies
Posted by Kevin Krouse <kk...@apache.org>.
Yes, you can compile A.xsd into A.jar then put it on the classpath when
compiling B.xsd.
Kevin
Johannes Echterhoff wrote:
> Hi.
> I am also interested in this question - is there nobody who can answer it?
> Regards,
> Johannes
>
> Giedrius Trumpickas wrote:
>
>> Hi,
>>
>> I have following situation:
>>
>> I have 2 schemas A and B. B depends on A because it uses some types
>> from A.
>>
>> Now when compiling schema B, xmlbeans schema compiler compiles schema
>> A as well to the jar. Is it possible to compile schema A to separate
>> jar and somehow instruct xmlbeans schema compiler to use that jar when
>> compiling schema B. And have two jars a.jar and b.jar
>> and jar b does not have schema A info compiled inside.
>>
>> Thanks,
>>
>> Giedrius
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
>> For additional commands, e-mail: user-help@xmlbeans.apache.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: Schema depenencies
Posted by Johannes Echterhoff <Jo...@gmx.de>.
Hi.
I am also interested in this question - is there nobody who can answer it?
Regards,
Johannes
Giedrius Trumpickas wrote:
>Hi,
>
>I have following situation:
>
>I have 2 schemas A and B. B depends on A because it uses some types from A.
>
>Now when compiling schema B, xmlbeans schema compiler compiles schema
>A as well to the jar. Is it possible to compile schema A to separate
>jar and somehow instruct xmlbeans schema compiler to use that jar when
>compiling schema B. And have two jars a.jar and b.jar
>and jar b does not have schema A info compiled inside.
>
>Thanks,
>
>Giedrius
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
>For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org