Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » JAXB
JAXB [message #22441] Fri, 16 May 2003 02:08 Go to next message
Eclipse UserFriend
Originally posted by: viraf_bankwalla.yahoo.com

Hi,

I was on Sun's site and came across the JAXB specs. Is there any plan on
providing JAXB support to this or another eclipse project?

I would like to be able to define schemas, use JAXB to create the supporting
classes, and an XML editor to create documents that conform to the schema.

Thanks.

- viraf
Re: JAXB [message #22533 is a reply to message #22441] Fri, 16 May 2003 05:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lmap.canada.com

Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
you are asking for and much more.

"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
news:ba1h7e$dth$1@rogue.oti.com...
> Hi,
>
> I was on Sun's site and came across the JAXB specs. Is there any plan on
> providing JAXB support to this or another eclipse project?
>
> I would like to be able to define schemas, use JAXB to create the
supporting
> classes, and an XML editor to create documents that conform to the schema.
>
> Thanks.
>
> - viraf
>
>
Re: JAXB [message #22665 is a reply to message #22533] Fri, 16 May 2003 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: viraf_bankwalla.yahoo.com

Thanks - I'll check out EMF.

Can EMF be used standalone (i.e. outside the eclipse environment)? What
additional baggage do I need to carry if I use it outside eclipse? What are
the pros/cons of using EMF over JAXB?

- viraf

"Luiz Marcelo" <lmap@canada.com> wrote in message
news:ba1tgn$ld5$1@rogue.oti.com...
> Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't
everything
> you are asking for and much more.
>
> "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> news:ba1h7e$dth$1@rogue.oti.com...
> > Hi,
> >
> > I was on Sun's site and came across the JAXB specs. Is there any plan
on
> > providing JAXB support to this or another eclipse project?
> >
> > I would like to be able to define schemas, use JAXB to create the
> supporting
> > classes, and an XML editor to create documents that conform to the
schema.
> >
> > Thanks.
> >
> > - viraf
> >
> >
>
>
Re: JAXB [message #22710 is a reply to message #22665] Fri, 16 May 2003 13:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

--------------90C792FD57E6556423AB7754
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Viraf,

Yes, EMF can be used standalone. On your classpath you will need the common.jar,
ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively. XSD
itself is based on Ecore and it runs standalone too.

EMF produces high quality model code that you can modify and subsequently
regenerate because it has a merging generator. EMF also generates a complete
application that includes reusable platform-neutral view support and an
Eclipse-based editor. EMF may not handle some schemas that JAXB can handle,
although the reverse may also be true. I'd suggest trying both approaches and
being your own judge. Here's a tutorial to describe the steps:

http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html

Viraf Bankwalla wrote:

> Thanks - I'll check out EMF.
>
> Can EMF be used standalone (i.e. outside the eclipse environment)? What
> additional baggage do I need to carry if I use it outside eclipse? What are
> the pros/cons of using EMF over JAXB?
>
> - viraf
>
> "Luiz Marcelo" <lmap@canada.com> wrote in message
> news:ba1tgn$ld5$1@rogue.oti.com...
> > Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't
> everything
> > you are asking for and much more.
> >
> > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> > news:ba1h7e$dth$1@rogue.oti.com...
> > > Hi,
> > >
> > > I was on Sun's site and came across the JAXB specs. Is there any plan
> on
> > > providing JAXB support to this or another eclipse project?
> > >
> > > I would like to be able to define schemas, use JAXB to create the
> > supporting
> > > classes, and an XML editor to create documents that conform to the
> schema.
> > >
> > > Thanks.
> > >
> > > - viraf
> > >
> > >
> >
> >

--------------90C792FD57E6556423AB7754
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Viraf,
<p>Yes, EMF can be used standalone. On your classpath you will need the
common.jar, ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively.&nbsp;
XSD itself is based on Ecore and it runs standalone too.
<p>EMF produces high quality model code that you can modify and subsequently
regenerate because it has a merging generator.&nbsp; EMF also generates
a complete application that includes reusable platform-neutral view support
and an Eclipse-based editor.&nbsp; EMF may not handle some schemas that
JAXB can handle, although the reverse may also be true.&nbsp; I'd suggest
trying both approaches and being your own judge.&nbsp; Here's a tutorial
to describe the steps:
<blockquote>&nbsp;<a href=" http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html"> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html</a></blockquote>

<p>Viraf Bankwalla wrote:
<blockquote TYPE=CITE>Thanks - I'll check out EMF.
<p>Can EMF be used standalone (i.e. outside the eclipse environment)?&nbsp;
What
<br>additional baggage do I need to carry if I use it outside eclipse?&nbsp;
What are
<br>the pros/cons of using EMF over JAXB?
<p>- viraf
<p>"Luiz Marcelo" &lt;lmap@canada.com> wrote in message
<br><a href="news:ba1tgn$ld5$1@rogue.oti.com">news:ba1tgn$ld5$1@rogue.oti.com</a>...
<br>> Check out www.eclipse.org/emf.&nbsp; It is **not** JAXB but it doesn't
<br>everything
<br>> you are asking for and much more.
<br>>
<br>> "Viraf Bankwalla" &lt;viraf_bankwalla@yahoo.com> wrote in message
<br>> <a href="news:ba1h7e$dth$1@rogue.oti.com">news:ba1h7e$dth$1@rogue.oti.com</a>...
<br>> > Hi,
<br>> >
<br>> > I was on Sun's site and came across the JAXB specs.&nbsp; Is there
any plan
<br>on
<br>> > providing JAXB support to this or another eclipse project?
<br>> >
<br>> > I would like to be able to define schemas, use JAXB to create the
<br>> supporting
<br>> > classes, and an XML editor to create documents that conform to
the
<br>schema.
<br>> >
<br>> > Thanks.
<br>> >
<br>> > - viraf
<br>> >
<br>> >
<br>>
<br>></blockquote>
</html>

--------------90C792FD57E6556423AB7754--
Re: JAXB [message #25250 is a reply to message #22533] Thu, 24 July 2003 05:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: twilliams66.netscape.net

Can we do a quick hypothetical? :)
Suppose you're new to Eclipse and you have an existing code base that
uses JAXB to (un)marshall xml documents and object instances. Is there
a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
Thanks in advance,
Trevor Williams

Luiz Marcelo wrote:

> Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
> you are asking for and much more.
>
> "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> news:ba1h7e$dth$1@rogue.oti.com...
>
>>Hi,
>>
>>I was on Sun's site and came across the JAXB specs. Is there any plan on
>>providing JAXB support to this or another eclipse project?
>>
>>I would like to be able to define schemas, use JAXB to create the
>
> supporting
>
>>classes, and an XML editor to create documents that conform to the schema.
>>
>>Thanks.
>>
>>- viraf
>>
>>
>
>
>
Re: JAXB [message #25293 is a reply to message #25250] Thu, 24 July 2003 03:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Trevor,

I expect that using Ant there would be a way to do this, but I'm not really
familiar enough with setting up build rules within Eclipse to be able to provide
details. Sorry.


Trevor Williams wrote:

> Can we do a quick hypothetical? :)
> Suppose you're new to Eclipse and you have an existing code base that
> uses JAXB to (un)marshall xml documents and object instances. Is there
> a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
> Thanks in advance,
> Trevor Williams
>
> Luiz Marcelo wrote:
>
> > Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
> > you are asking for and much more.
> >
> > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> > news:ba1h7e$dth$1@rogue.oti.com...
> >
> >>Hi,
> >>
> >>I was on Sun's site and came across the JAXB specs. Is there any plan on
> >>providing JAXB support to this or another eclipse project?
> >>
> >>I would like to be able to define schemas, use JAXB to create the
> >
> > supporting
> >
> >>classes, and an XML editor to create documents that conform to the schema.
> >>
> >>Thanks.
> >>
> >>- viraf
> >>
> >>
> >
> >
> >
Re: JAXB [message #25495 is a reply to message #25293] Sun, 27 July 2003 04:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: twilliams66.netscape.net

No need to apologise, any info is appreciated! I was hoping for
something a little more seamless but Ant should do the trick well
enough. Thanks much,
Trevor

Ed Merks wrote:
> Trevor,
>
> I expect that using Ant there would be a way to do this, but I'm not really
> familiar enough with setting up build rules within Eclipse to be able to provide
> details. Sorry.
>
>
> Trevor Williams wrote:
>
>
>>Can we do a quick hypothetical? :)
>>Suppose you're new to Eclipse and you have an existing code base that
>>uses JAXB to (un)marshall xml documents and object instances. Is there
>>a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
>>Thanks in advance,
>>Trevor Williams
>>
>>Luiz Marcelo wrote:
>>
>>
>>>Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
>>>you are asking for and much more.
>>>
>>>"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
>>>news:ba1h7e$dth$1@rogue.oti.com...
>>>
>>>
>>>>Hi,
>>>>
>>>>I was on Sun's site and came across the JAXB specs. Is there any plan on
>>>>providing JAXB support to this or another eclipse project?
>>>>
>>>>I would like to be able to define schemas, use JAXB to create the
>>>
>>>supporting
>>>
>>>
>>>>classes, and an XML editor to create documents that conform to the schema.
>>>>
>>>>Thanks.
>>>>
>>>>- viraf
>>>>
>>>>
>>>
>>>
>>>
>
Re: JAXB [message #25535 is a reply to message #25495] Mon, 28 July 2003 05:03 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Another possibility would be to write a plugin that adds a project nature to
Java projects that adds a build whatever that automatically runs xjc on xsd
files when they are changed. I'm not sure this is the result you or a user
would want, but it is possible to arrange the build order so xjc runs before
the java compiler.

Bob

"Trevor Williams" <twilliams66@netscape.net> wrote in message
news:bfvio3$9j9$1@eclipse.org...
> No need to apologise, any info is appreciated! I was hoping for
> something a little more seamless but Ant should do the trick well
> enough. Thanks much,
> Trevor
>
> Ed Merks wrote:
> > Trevor,
> >
> > I expect that using Ant there would be a way to do this, but I'm not
really
> > familiar enough with setting up build rules within Eclipse to be able to
provide
> > details. Sorry.
> >
> >
> > Trevor Williams wrote:
> >
> >
> >>Can we do a quick hypothetical? :)
> >>Suppose you're new to Eclipse and you have an existing code base that
> >>uses JAXB to (un)marshall xml documents and object instances. Is there
> >>a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
> >>Thanks in advance,
> >>Trevor Williams
> >>
> >>Luiz Marcelo wrote:
> >>
> >>
> >>>Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't
everything
> >>>you are asking for and much more.
> >>>
> >>>"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> >>>news:ba1h7e$dth$1@rogue.oti.com...
> >>>
> >>>
> >>>>Hi,
> >>>>
> >>>>I was on Sun's site and came across the JAXB specs. Is there any plan
on
> >>>>providing JAXB support to this or another eclipse project?
> >>>>
> >>>>I would like to be able to define schemas, use JAXB to create the
> >>>
> >>>supporting
> >>>
> >>>
> >>>>classes, and an XML editor to create documents that conform to the
schema.
> >>>>
> >>>>Thanks.
> >>>>
> >>>>- viraf
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >
>
Re: JAXB [message #571892 is a reply to message #22441] Fri, 16 May 2003 05:37 Go to previous message
Eclipse UserFriend
Originally posted by: lmap.canada.com

Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
you are asking for and much more.

"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
news:ba1h7e$dth$1@rogue.oti.com...
> Hi,
>
> I was on Sun's site and came across the JAXB specs. Is there any plan on
> providing JAXB support to this or another eclipse project?
>
> I would like to be able to define schemas, use JAXB to create the
supporting
> classes, and an XML editor to create documents that conform to the schema.
>
> Thanks.
>
> - viraf
>
>
Re: JAXB [message #572038 is a reply to message #22533] Fri, 16 May 2003 12:17 Go to previous message
Eclipse UserFriend
Originally posted by: viraf_bankwalla.yahoo.com

Thanks - I'll check out EMF.

Can EMF be used standalone (i.e. outside the eclipse environment)? What
additional baggage do I need to carry if I use it outside eclipse? What are
the pros/cons of using EMF over JAXB?

- viraf

"Luiz Marcelo" <lmap@canada.com> wrote in message
news:ba1tgn$ld5$1@rogue.oti.com...
> Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't
everything
> you are asking for and much more.
>
> "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> news:ba1h7e$dth$1@rogue.oti.com...
> > Hi,
> >
> > I was on Sun's site and came across the JAXB specs. Is there any plan
on
> > providing JAXB support to this or another eclipse project?
> >
> > I would like to be able to define schemas, use JAXB to create the
> supporting
> > classes, and an XML editor to create documents that conform to the
schema.
> >
> > Thanks.
> >
> > - viraf
> >
> >
>
>
Re: JAXB [message #572084 is a reply to message #22665] Fri, 16 May 2003 13:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
--------------90C792FD57E6556423AB7754
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Viraf,

Yes, EMF can be used standalone. On your classpath you will need the common.jar,
ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively. XSD
itself is based on Ecore and it runs standalone too.

EMF produces high quality model code that you can modify and subsequently
regenerate because it has a merging generator. EMF also generates a complete
application that includes reusable platform-neutral view support and an
Eclipse-based editor. EMF may not handle some schemas that JAXB can handle,
although the reverse may also be true. I'd suggest trying both approaches and
being your own judge. Here's a tutorial to describe the steps:

http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html

Viraf Bankwalla wrote:

> Thanks - I'll check out EMF.
>
> Can EMF be used standalone (i.e. outside the eclipse environment)? What
> additional baggage do I need to carry if I use it outside eclipse? What are
> the pros/cons of using EMF over JAXB?
>
> - viraf
>
> "Luiz Marcelo" <lmap@canada.com> wrote in message
> news:ba1tgn$ld5$1@rogue.oti.com...
> > Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't
> everything
> > you are asking for and much more.
> >
> > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> > news:ba1h7e$dth$1@rogue.oti.com...
> > > Hi,
> > >
> > > I was on Sun's site and came across the JAXB specs. Is there any plan
> on
> > > providing JAXB support to this or another eclipse project?
> > >
> > > I would like to be able to define schemas, use JAXB to create the
> > supporting
> > > classes, and an XML editor to create documents that conform to the
> schema.
> > >
> > > Thanks.
> > >
> > > - viraf
> > >
> > >
> >
> >

--------------90C792FD57E6556423AB7754
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Viraf,
<p>Yes, EMF can be used standalone. On your classpath you will need the
common.jar, ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively.&nbsp;
XSD itself is based on Ecore and it runs standalone too.
<p>EMF produces high quality model code that you can modify and subsequently
regenerate because it has a merging generator.&nbsp; EMF also generates
a complete application that includes reusable platform-neutral view support
and an Eclipse-based editor.&nbsp; EMF may not handle some schemas that
JAXB can handle, although the reverse may also be true.&nbsp; I'd suggest
trying both approaches and being your own judge.&nbsp; Here's a tutorial
to describe the steps:
<blockquote>&nbsp;<a href=" http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html"> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html</a></blockquote>

<p>Viraf Bankwalla wrote:
<blockquote TYPE=CITE>Thanks - I'll check out EMF.
<p>Can EMF be used standalone (i.e. outside the eclipse environment)?&nbsp;
What
<br>additional baggage do I need to carry if I use it outside eclipse?&nbsp;
What are
<br>the pros/cons of using EMF over JAXB?
<p>- viraf
<p>"Luiz Marcelo" &lt;lmap@canada.com> wrote in message
<br><a href="news:ba1tgn$ld5$1@rogue.oti.com">news:ba1tgn$ld5$1@rogue.oti.com</a>...
<br>> Check out www.eclipse.org/emf.&nbsp; It is **not** JAXB but it doesn't
<br>everything
<br>> you are asking for and much more.
<br>>
<br>> "Viraf Bankwalla" &lt;viraf_bankwalla@yahoo.com> wrote in message
<br>> <a href="news:ba1h7e$dth$1@rogue.oti.com">news:ba1h7e$dth$1@rogue.oti.com</a>...
<br>> > Hi,
<br>> >
<br>> > I was on Sun's site and came across the JAXB specs.&nbsp; Is there
any plan
<br>on
<br>> > providing JAXB support to this or another eclipse project?
<br>> >
<br>> > I would like to be able to define schemas, use JAXB to create the
<br>> supporting
<br>> > classes, and an XML editor to create documents that conform to
the
<br>schema.
<br>> >
<br>> > Thanks.
<br>> >
<br>> > - viraf
<br>> >
<br>> >
<br>>
<br>></blockquote>
</html>

--------------90C792FD57E6556423AB7754--
Re: JAXB [message #574695 is a reply to message #22533] Thu, 24 July 2003 05:16 Go to previous message
Eclipse UserFriend
Originally posted by: twilliams66.netscape.net

Can we do a quick hypothetical? :)
Suppose you're new to Eclipse and you have an existing code base that
uses JAXB to (un)marshall xml documents and object instances. Is there
a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
Thanks in advance,
Trevor Williams

Luiz Marcelo wrote:

> Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
> you are asking for and much more.
>
> "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> news:ba1h7e$dth$1@rogue.oti.com...
>
>>Hi,
>>
>>I was on Sun's site and came across the JAXB specs. Is there any plan on
>>providing JAXB support to this or another eclipse project?
>>
>>I would like to be able to define schemas, use JAXB to create the
>
> supporting
>
>>classes, and an XML editor to create documents that conform to the schema.
>>
>>Thanks.
>>
>>- viraf
>>
>>
>
>
>
Re: JAXB [message #574732 is a reply to message #25250] Thu, 24 July 2003 03:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
Trevor,

I expect that using Ant there would be a way to do this, but I'm not really
familiar enough with setting up build rules within Eclipse to be able to provide
details. Sorry.


Trevor Williams wrote:

> Can we do a quick hypothetical? :)
> Suppose you're new to Eclipse and you have an existing code base that
> uses JAXB to (un)marshall xml documents and object instances. Is there
> a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
> Thanks in advance,
> Trevor Williams
>
> Luiz Marcelo wrote:
>
> > Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
> > you are asking for and much more.
> >
> > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> > news:ba1h7e$dth$1@rogue.oti.com...
> >
> >>Hi,
> >>
> >>I was on Sun's site and came across the JAXB specs. Is there any plan on
> >>providing JAXB support to this or another eclipse project?
> >>
> >>I would like to be able to define schemas, use JAXB to create the
> >
> > supporting
> >
> >>classes, and an XML editor to create documents that conform to the schema.
> >>
> >>Thanks.
> >>
> >>- viraf
> >>
> >>
> >
> >
> >
Re: JAXB [message #574989 is a reply to message #25293] Sun, 27 July 2003 04:00 Go to previous message
Eclipse UserFriend
Originally posted by: twilliams66.netscape.net

No need to apologise, any info is appreciated! I was hoping for
something a little more seamless but Ant should do the trick well
enough. Thanks much,
Trevor

Ed Merks wrote:
> Trevor,
>
> I expect that using Ant there would be a way to do this, but I'm not really
> familiar enough with setting up build rules within Eclipse to be able to provide
> details. Sorry.
>
>
> Trevor Williams wrote:
>
>
>>Can we do a quick hypothetical? :)
>>Suppose you're new to Eclipse and you have an existing code base that
>>uses JAXB to (un)marshall xml documents and object instances. Is there
>>a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
>>Thanks in advance,
>>Trevor Williams
>>
>>Luiz Marcelo wrote:
>>
>>
>>>Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't everything
>>>you are asking for and much more.
>>>
>>>"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
>>>news:ba1h7e$dth$1@rogue.oti.com...
>>>
>>>
>>>>Hi,
>>>>
>>>>I was on Sun's site and came across the JAXB specs. Is there any plan on
>>>>providing JAXB support to this or another eclipse project?
>>>>
>>>>I would like to be able to define schemas, use JAXB to create the
>>>
>>>supporting
>>>
>>>
>>>>classes, and an XML editor to create documents that conform to the schema.
>>>>
>>>>Thanks.
>>>>
>>>>- viraf
>>>>
>>>>
>>>
>>>
>>>
>
Re: JAXB [message #575014 is a reply to message #25495] Mon, 28 July 2003 05:03 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Another possibility would be to write a plugin that adds a project nature to
Java projects that adds a build whatever that automatically runs xjc on xsd
files when they are changed. I'm not sure this is the result you or a user
would want, but it is possible to arrange the build order so xjc runs before
the java compiler.

Bob

"Trevor Williams" <twilliams66@netscape.net> wrote in message
news:bfvio3$9j9$1@eclipse.org...
> No need to apologise, any info is appreciated! I was hoping for
> something a little more seamless but Ant should do the trick well
> enough. Thanks much,
> Trevor
>
> Ed Merks wrote:
> > Trevor,
> >
> > I expect that using Ant there would be a way to do this, but I'm not
really
> > familiar enough with setting up build rules within Eclipse to be able to
provide
> > details. Sorry.
> >
> >
> > Trevor Williams wrote:
> >
> >
> >>Can we do a quick hypothetical? :)
> >>Suppose you're new to Eclipse and you have an existing code base that
> >>uses JAXB to (un)marshall xml documents and object instances. Is there
> >>a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
> >>Thanks in advance,
> >>Trevor Williams
> >>
> >>Luiz Marcelo wrote:
> >>
> >>
> >>>Check out www.eclipse.org/emf. It is **not** JAXB but it doesn't
everything
> >>>you are asking for and much more.
> >>>
> >>>"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
> >>>news:ba1h7e$dth$1@rogue.oti.com...
> >>>
> >>>
> >>>>Hi,
> >>>>
> >>>>I was on Sun's site and came across the JAXB specs. Is there any plan
on
> >>>>providing JAXB support to this or another eclipse project?
> >>>>
> >>>>I would like to be able to define schemas, use JAXB to create the
> >>>
> >>>supporting
> >>>
> >>>
> >>>>classes, and an XML editor to create documents that conform to the
schema.
> >>>>
> >>>>Thanks.
> >>>>
> >>>>- viraf
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >
>
Previous Topic:Is global attribute in XSD supported?
Next Topic:Moving components from one XSD schema to another
Goto Forum:
  


Current Time: Sat Nov 29 00:38:24 GMT 2014

Powered by FUDForum. Page generated in 0.02412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software