users@jaxb.java.net

Re: Re: Problem with JAXB episodic compilation and XJC plugins

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sun, 20 Feb 2011 12:21:57 +0100

Hi,

> Appreciate the quick response.  Can't seem to get to the JAXB Basics
> link you posted though.

The server is back online, sorry for this.

> In any case, it's not my plugin so I can't really make that call.

Well, it's OS so if you need you can contribute - take the source code
and base your fork on it.

> CClassRef isn't available cause currently this plugin depends on a
> really old version of the JAXB binaries.  But I'll continue to struggle
> through it... this model API is incredibly hairy to work with.

Well... I'm working with JAXB RI for many yaers now. You're right,
it's not the most elegant thing. But what I've learned so far is that
most "hairy" things are for a reason.

I'm starting some work on the Element Wrapper plugin in JAXB2 Basics.
I think this will be a usefult tool. However, I don't think that
actual implementation you send a link to is the way to go.

The problem there is that this plugin only changes the outline a bit -
that is, the generated code. It does not change the XJC model behind
it. This may produce severe incompatibilities with other plugins. What
we have to do here is to change the underlyinng model. Which isn't
easy at all.

Bye,
/lexi