RE: openwire command generation
I think I've seen this before.. it's really weird.. but I think I have to do a mvn clean install in the generator project for it to install correctly. I did try that already, and unfortunately that doesn't seem to help. However if I nuke my entire maven repository and do an mvn install then it will usually run once. Then for some reason the next time I run it, it seems like maven goes out and grabs an update for something and then I can't ever seem to get it to work again. Deleting my repo directory every time is not the most pleasant of solutions. - Timothy A. Bish Sensis Corporation - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino Sent: Wednesday, August 23, 2006 12:04 AM To: activemq-dev@geronimo.apache.org Subject: Re: openwire command generation I think I've seen this before.. it's really weird.. but I think I have to do a mvn clean install in the generator project for it to install correctly. On 8/22/06, Timothy Bish [EMAIL PROTECTED] wrote: Ok guys. This is probably something really stupid that I'm doing, but so far I am not having much luck adding new scripts to the openwire generator. I've added two groovy scripts, GenerateAmqCppClasses.groovy and GenerateAmqCppHeaders.groovy and the associated java classes in with the rest of the OpenwireXX classes. I've added my groovy scripts into the activemq-core pom with all the rest. I can build the generator and install it. But when I try and run mvn gram:gram (from activemq-core directory) I get an error shown below: [INFO] Evaluating Groovy script: GenerateAmqCcppHeaders.groovy [ERROR] Caught: java.io.IOException: No script called: GenerateAmqCcppHeaders.groovy could be found on the classpath or the file system java.io.IOException: No script called: GenerateAmqCcppHeaders.groovy could be found on the classpath or the file system at org.apache.activemq.maven.GramMojo.execute(GramMojo.java:127) at org.apache.activemq.maven.GramMojo.execute(GramMojo.java:106) Any Idea what I am doing wrong? - Timothy A. Bish
RE: openwire command generation
Ok guys. This is probably something really stupid that I'm doing, but so far I am not having much luck adding new scripts to the openwire generator. I've added two groovy scripts, GenerateAmqCppClasses.groovy and GenerateAmqCppHeaders.groovy and the associated java classes in with the rest of the OpenwireXX classes. I've added my groovy scripts into the activemq-core pom with all the rest. I can build the generator and install it. But when I try and run mvn gram:gram (from activemq-core directory) I get an error shown below: [INFO] Evaluating Groovy script: GenerateAmqCcppHeaders.groovy [ERROR] Caught: java.io.IOException: No script called: GenerateAmqCcppHeaders.groovy could be found on the classpath or the file system java.io.IOException: No script called: GenerateAmqCcppHeaders.groovy could be found on the classpath or the file system at org.apache.activemq.maven.GramMojo.execute(GramMojo.java:127) at org.apache.activemq.maven.GramMojo.execute(GramMojo.java:106) Any Idea what I am doing wrong? - Timothy A. Bish -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino Sent: Thursday, August 17, 2006 8:34 PM To: activemq-dev@geronimo.apache.org Subject: Re: openwire command generation Importance: High Hi Tim, Wild, I just ran it and it was ok. Try setting you MAVEN_OPTS shell variable to something like -Xmx800M Regards, Hiram On 8/17/06, Timothy Bish [EMAIL PROTECTED] wrote: Hey guys I'm trying to understand the openwire command generator. My first task is just getting it to run and generate commands for the current set of clients.. Once I build the broker I attempt to run the generator with Mvn gram:gram from the activemq-core folder. I get tons of errors that look like this: [INFO] [gram:gram] Parsing source files in: [e:\Eclipse\ActiveMQ\activemq-trunk\activemq-core\src\main\java] [INFO] Evaluating Groovy script: GenerateJavaMarshalling.groovy GenerateJavaMarshalling generating files in: src\main\java\org\apache\activemq\openwire\v2 [JAM] Warning: failed to resolve class AsyncCommandChannel [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class MessageListener [JAM] Warning: failed to resolve class QueueSession [JAM] Warning: failed to resolve class Resource [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class JMSException [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class QueueConnectionFactory [JAM] Warning: failed to resolve class QueueConnection [JAM] Warning: failed to resolve class JndiTemplate GenerateJavaMarshalling processing class: LocalTransactionId GenerateJavaMarshalling processing class: PartialCommand GenerateJavaMarshalling processing class: IntegerResponse GenerateJavaMarshalling processing class: ActiveMQQueue Most of the time I end up with a Build Failure with an out of memory exception which looks like the following: [INFO] - [ERROR] FATAL ERROR [INFO] - [INFO] Java heap space [INFO] - [INFO] Trace java.lang.OutOfMemoryError: Java heap space Any clues what is going on here? I need to get this working so that I can go onto trying to get openwire commands generated for activemq-cpp. - Timothy A. Bish -- Regards, Hiram Blog: http://hiramchirino.com
RE: openwire command generation
Hi Hiram That seemed to allow me to get through the generation ok. I still get a lot of warnings, like these: [JAM] Warning: failed to resolve class javax.jms.JMSException [JAM] Warning: failed to resolve class javax.jms.MapMessage [JAM] Warning: failed to resolve class javax.jms.MessageFormatException [JAM] Warning: failed to resolve class javax.jms.MessageNotWriteableException [JAM] Warning: failed to resolve class org.apache.activeio.command.WireFormat [JAM] Warning: failed to resolve class org.apache.activeio.packet.ByteSequence [JAM] Warning: failed to resolve class org.apache.activeio.util.ByteArrayInputStream [JAM] Warning: failed to resolve class org.apache.activeio.util.ByteArrayOutputStream Is that normal? - Timothy A. Bish [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino Sent: Thursday, August 17, 2006 8:34 PM To: activemq-dev@geronimo.apache.org Subject: Re: openwire command generation Importance: High Hi Tim, Wild, I just ran it and it was ok. Try setting you MAVEN_OPTS shell variable to something like -Xmx800M Regards, Hiram On 8/17/06, Timothy Bish [EMAIL PROTECTED] wrote: Hey guys I'm trying to understand the openwire command generator. My first task is just getting it to run and generate commands for the current set of clients.. Once I build the broker I attempt to run the generator with Mvn gram:gram from the activemq-core folder. I get tons of errors that look like this: [INFO] [gram:gram] Parsing source files in: [e:\Eclipse\ActiveMQ\activemq-trunk\activemq-core\src\main\java] [INFO] Evaluating Groovy script: GenerateJavaMarshalling.groovy GenerateJavaMarshalling generating files in: src\main\java\org\apache\activemq\openwire\v2 [JAM] Warning: failed to resolve class AsyncCommandChannel [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class MessageListener [JAM] Warning: failed to resolve class QueueSession [JAM] Warning: failed to resolve class Resource [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class JMSException [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class QueueConnectionFactory [JAM] Warning: failed to resolve class QueueConnection [JAM] Warning: failed to resolve class JndiTemplate GenerateJavaMarshalling processing class: LocalTransactionId GenerateJavaMarshalling processing class: PartialCommand GenerateJavaMarshalling processing class: IntegerResponse GenerateJavaMarshalling processing class: ActiveMQQueue Most of the time I end up with a Build Failure with an out of memory exception which looks like the following: [INFO] - [ERROR] FATAL ERROR [INFO] - [INFO] Java heap space [INFO] - [INFO] Trace java.lang.OutOfMemoryError: Java heap space Any clues what is going on here? I need to get this working so that I can go onto trying to get openwire commands generated for activemq-cpp. - Timothy A. Bish -- Regards, Hiram Blog: http://hiramchirino.com
Re: openwire command generation
I'm afraid so :) On 8/18/06, Timothy Bish [EMAIL PROTECTED] wrote: Hi Hiram That seemed to allow me to get through the generation ok. I still get a lot of warnings, like these: [JAM] Warning: failed to resolve class javax.jms.JMSException [JAM] Warning: failed to resolve class javax.jms.MapMessage [JAM] Warning: failed to resolve class javax.jms.MessageFormatException [JAM] Warning: failed to resolve class javax.jms.MessageNotWriteableException [JAM] Warning: failed to resolve class org.apache.activeio.command.WireFormat [JAM] Warning: failed to resolve class org.apache.activeio.packet.ByteSequence [JAM] Warning: failed to resolve class org.apache.activeio.util.ByteArrayInputStream [JAM] Warning: failed to resolve class org.apache.activeio.util.ByteArrayOutputStream Is that normal? - Timothy A. Bish [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino Sent: Thursday, August 17, 2006 8:34 PM To: activemq-dev@geronimo.apache.org Subject: Re: openwire command generation Importance: High Hi Tim, Wild, I just ran it and it was ok. Try setting you MAVEN_OPTS shell variable to something like -Xmx800M Regards, Hiram On 8/17/06, Timothy Bish [EMAIL PROTECTED] wrote: Hey guys I'm trying to understand the openwire command generator. My first task is just getting it to run and generate commands for the current set of clients.. Once I build the broker I attempt to run the generator with Mvn gram:gram from the activemq-core folder. I get tons of errors that look like this: [INFO] [gram:gram] Parsing source files in: [e:\Eclipse\ActiveMQ\activemq-trunk\activemq-core\src\main\java] [INFO] Evaluating Groovy script: GenerateJavaMarshalling.groovy GenerateJavaMarshalling generating files in: src\main\java\org\apache\activemq\openwire\v2 [JAM] Warning: failed to resolve class AsyncCommandChannel [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class MessageListener [JAM] Warning: failed to resolve class QueueSession [JAM] Warning: failed to resolve class Resource [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class JMSException [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class QueueConnectionFactory [JAM] Warning: failed to resolve class QueueConnection [JAM] Warning: failed to resolve class JndiTemplate GenerateJavaMarshalling processing class: LocalTransactionId GenerateJavaMarshalling processing class: PartialCommand GenerateJavaMarshalling processing class: IntegerResponse GenerateJavaMarshalling processing class: ActiveMQQueue Most of the time I end up with a Build Failure with an out of memory exception which looks like the following: [INFO] - [ERROR] FATAL ERROR [INFO] - [INFO] Java heap space [INFO] - [INFO] Trace java.lang.OutOfMemoryError: Java heap space Any clues what is going on here? I need to get this working so that I can go onto trying to get openwire commands generated for activemq-cpp. - Timothy A. Bish -- Regards, Hiram Blog: http://hiramchirino.com -- James --- http://radio.weblogs.com/0112098/
openwire command generation
Hey guys I'm trying to understand the openwire command generator. My first task is just getting it to run and generate commands for the current set of clients.. Once I build the broker I attempt to run the generator with Mvn gram:gram from the activemq-core folder. I get tons of errors that look like this: [INFO] [gram:gram] Parsing source files in: [e:\Eclipse\ActiveMQ\activemq-trunk\activemq-core\src\main\java] [INFO] Evaluating Groovy script: GenerateJavaMarshalling.groovy GenerateJavaMarshalling generating files in: src\main\java\org\apache\activemq\openwire\v2 [JAM] Warning: failed to resolve class AsyncCommandChannel [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class MessageListener [JAM] Warning: failed to resolve class QueueSession [JAM] Warning: failed to resolve class Resource [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class JMSException [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class QueueConnectionFactory [JAM] Warning: failed to resolve class QueueConnection [JAM] Warning: failed to resolve class JndiTemplate GenerateJavaMarshalling processing class: LocalTransactionId GenerateJavaMarshalling processing class: PartialCommand GenerateJavaMarshalling processing class: IntegerResponse GenerateJavaMarshalling processing class: ActiveMQQueue Most of the time I end up with a Build Failure with an out of memory exception which looks like the following: [INFO] - [ERROR] FATAL ERROR [INFO] - [INFO] Java heap space [INFO] - [INFO] Trace java.lang.OutOfMemoryError: Java heap space Any clues what is going on here? I need to get this working so that I can go onto trying to get openwire commands generated for activemq-cpp. - Timothy A. Bish
Re: openwire command generation
Hi Tim, Wild, I just ran it and it was ok. Try setting you MAVEN_OPTS shell variable to something like -Xmx800M Regards, Hiram On 8/17/06, Timothy Bish [EMAIL PROTECTED] wrote: Hey guys I'm trying to understand the openwire command generator. My first task is just getting it to run and generate commands for the current set of clients.. Once I build the broker I attempt to run the generator with Mvn gram:gram from the activemq-core folder. I get tons of errors that look like this: [INFO] [gram:gram] Parsing source files in: [e:\Eclipse\ActiveMQ\activemq-trunk\activemq-core\src\main\java] [INFO] Evaluating Groovy script: GenerateJavaMarshalling.groovy GenerateJavaMarshalling generating files in: src\main\java\org\apache\activemq\openwire\v2 [JAM] Warning: failed to resolve class AsyncCommandChannel [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class MessageListener [JAM] Warning: failed to resolve class QueueSession [JAM] Warning: failed to resolve class Resource [JAM] Warning: failed to resolve class Statistic [JAM] Warning: failed to resolve class JMSException [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class Queue [JAM] Warning: failed to resolve class QueueConnectionFactory [JAM] Warning: failed to resolve class QueueConnection [JAM] Warning: failed to resolve class JndiTemplate GenerateJavaMarshalling processing class: LocalTransactionId GenerateJavaMarshalling processing class: PartialCommand GenerateJavaMarshalling processing class: IntegerResponse GenerateJavaMarshalling processing class: ActiveMQQueue Most of the time I end up with a Build Failure with an out of memory exception which looks like the following: [INFO] - [ERROR] FATAL ERROR [INFO] - [INFO] Java heap space [INFO] - [INFO] Trace java.lang.OutOfMemoryError: Java heap space Any clues what is going on here? I need to get this working so that I can go onto trying to get openwire commands generated for activemq-cpp. - Timothy A. Bish -- Regards, Hiram Blog: http://hiramchirino.com