[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: JAXB
|
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@xxxxxxxxxxxx> wrote in message
news:bfvio3$9j9$1@xxxxxxxxxxxxxx
> 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@xxxxxxxxx> wrote in message
> >>>news:ba1h7e$dth$1@xxxxxxxxxxxxxxxx
> >>>
> >>>
> >>>>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
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >
>