You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Hiram Chirino <hi...@hiramchirino.com> on 2006/09/27 05:14:05 UTC

Openwire Generator Changes

For all you who are interested in openwire...

I have just checked in some changes for the openwire generators.  They
are now 100% java based.  This should make them easier to grok and
maintain / refactor.

I have also updated the pom.xml files for all the modules that use
openwire generated marshalers so that the marshaller code is generated
when you run:
mvn antrun:run

Since the generators use the java sources of the activemq-core module
when generating the marshallers, the default location configured in
the pom.xml may not work for you.  You may need to set the
activemq-core-dir property to the directory location where it is
checked out to.  For example:
mvn antrun:run -Dactivemq-core-dir=../../../activemq/activemq-core

-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Re: Openwire Generator Changes

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Hi Andrew I think It's only valid to run that in the activemq-core
module.  Is that were your running it?

On 1/9/07, Andrew Lusk <an...@amazon.com> wrote:
> I'm having trouble running the generators (I'm trying to port my
> old-style generation scripts to the new style).  In a fresh checkout
> of 4.1.0, I run:
>
> mvn antrun:run
>
> in the root directory, and get:
>
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error executing ant tasks
>
> Embedded error: taskdef class org.apache.activemq.openwire.tool.JavaGeneratorTask cannot be found
>
> Running from activemq-openwire-generator doesn't help - that runs with
> no errors but doesn't appear to do anything productive either.  Can
> you shed some light here?
>
> Andrew
>
> From: "Hiram Chirino" <hi...@hiramchirino.com>
> Subject: Openwire Generator Changes
> Date: Tue, 26 Sep 2006 19:14:05 -0800
>
> > For all you who are interested in openwire...
> >
> > I have just checked in some changes for the openwire generators.  They
> > are now 100% java based.  This should make them easier to grok and
> > maintain / refactor.
> >
> > I have also updated the pom.xml files for all the modules that use
> > openwire generated marshalers so that the marshaller code is generated
> > when you run:
> > mvn antrun:run
> >
> > Since the generators use the java sources of the activemq-core module
> > when generating the marshallers, the default location configured in
> > the pom.xml may not work for you.  You may need to set the
> > activemq-core-dir property to the directory location where it is
> > checked out to.  For example:
> > mvn antrun:run -Dactivemq-core-dir=../../../activemq/activemq-core
> >
> > --
> > Regards,
> > Hiram
> >
> > Blog: http://hiramchirino.com
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Re: Openwire Generator Changes

Posted by Andrew Lusk <an...@amazon.com>.
I'm having trouble running the generators (I'm trying to port my
old-style generation scripts to the new style).  In a fresh checkout
of 4.1.0, I run:

mvn antrun:run

in the root directory, and get:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: taskdef class org.apache.activemq.openwire.tool.JavaGeneratorTask cannot be found

Running from activemq-openwire-generator doesn't help - that runs with
no errors but doesn't appear to do anything productive either.  Can
you shed some light here?

Andrew

From: "Hiram Chirino" <hi...@hiramchirino.com>
Subject: Openwire Generator Changes
Date: Tue, 26 Sep 2006 19:14:05 -0800

> For all you who are interested in openwire...
> 
> I have just checked in some changes for the openwire generators.  They
> are now 100% java based.  This should make them easier to grok and
> maintain / refactor.
> 
> I have also updated the pom.xml files for all the modules that use
> openwire generated marshalers so that the marshaller code is generated
> when you run:
> mvn antrun:run
> 
> Since the generators use the java sources of the activemq-core module
> when generating the marshallers, the default location configured in
> the pom.xml may not work for you.  You may need to set the
> activemq-core-dir property to the directory location where it is
> checked out to.  For example:
> mvn antrun:run -Dactivemq-core-dir=../../../activemq/activemq-core
> 
> -- 
> Regards,
> Hiram
> 
> Blog: http://hiramchirino.com