You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Rajith Attapattu <ra...@gmail.com> on 2006/11/27 18:47:01 UTC

Re: Why does the codegen generate o.a.q.framing_0_8 package ?

folks,

why does the codegen generate classes under  o.a.q.framing_0_8 package ? in
stead of  o.a.q.framing package ?

any particular reason for this?

Regards,

Rajith

Re: Why does the codegen generate o.a.q.framing_0_8 package ?

Posted by Rajith Attapattu <ra...@gmail.com>.
Thank you Kim.

Rajith

On 11/27/06, Kim van der Riet <ki...@redhat.com> wrote:
>
> This was done during an initial rewrite of the XSLT generator to allow
> for support of multiple AMQP versions from the broker. The idea was that
> each version of the AMQP protocol being supported would be in its own
> sub-namespace. Since there is only one version being generated for at
> present (0.8), this is the only generated framing code directory to be
> seen.
>
> The new code generator has moved away from this idea, most especially
> since it forces code changes for all classes and methods of every
> version, regardless of whether they actually changed in the spec. This
> structure will in all likelihood be removed when the new code generator
> is integrated with the Java project next month. (The first phase of the
> C++ integration is currently underway.)
>
> For more information, see
> http://cwiki.apache.org/qpid/multiple-amqp-version-support.html; for
> notes on the earlier thinking, see
> http://cwiki.apache.org/qpid/amqpversion1.html section 2.
>
> Kim
>
> On Mon, 2006-11-27 at 12:47 -0500, Rajith Attapattu wrote:
> > folks,
> >
> > why does the codegen generate classes under  o.a.q.framing_0_8 package ?
> in
> > stead of  o.a.q.framing package ?
> >
> > any particular reason for this?
> >
> > Regards,
> >
> > Rajith
>
>

Re: Why does the codegen generate o.a.q.framing_0_8 package ?

Posted by Kim van der Riet <ki...@redhat.com>.
This was done during an initial rewrite of the XSLT generator to allow
for support of multiple AMQP versions from the broker. The idea was that
each version of the AMQP protocol being supported would be in its own
sub-namespace. Since there is only one version being generated for at
present (0.8), this is the only generated framing code directory to be
seen.

The new code generator has moved away from this idea, most especially
since it forces code changes for all classes and methods of every
version, regardless of whether they actually changed in the spec. This
structure will in all likelihood be removed when the new code generator
is integrated with the Java project next month. (The first phase of the
C++ integration is currently underway.)

For more information, see
http://cwiki.apache.org/qpid/multiple-amqp-version-support.html; for
notes on the earlier thinking, see
http://cwiki.apache.org/qpid/amqpversion1.html section 2.

Kim

On Mon, 2006-11-27 at 12:47 -0500, Rajith Attapattu wrote:
> folks,
> 
> why does the codegen generate classes under  o.a.q.framing_0_8 package ? in
> stead of  o.a.q.framing package ?
> 
> any particular reason for this?
> 
> Regards,
> 
> Rajith