Skip to content
Permalink
Browse files
First workable version of Command Class generation. Needs more work n…
…ow to implement specific Commands that require special methods and extensions.
  • Loading branch information
Timothy A. Bish committed Jul 28, 2009
1 parent 77ddbd7 commit c31b80e30f6ef1ed68d9e38be7f4e38e714ce763
Showing 6 changed files with 160 additions and 276 deletions.
12 pom.xml
@@ -67,6 +67,7 @@
<ant-version>1.6.2</ant-version>
<xstream-version>1.3.1</xstream-version>
<activemq-core-dir>${ACTIVEMQ_SRC_HOME}/activemq-core/</activemq-core-dir>
<nms-activemq-dir>${NMS_ACTIVEMQ_HOME}</nms-activemq-dir>
</properties>

<dependencies>
@@ -131,6 +132,17 @@
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<configuration>
<tasks>
<echo>Running OpenWire Generator</echo>
<taskdef name="generate" classname="org.apache.activemq.nms.openwire.tool.AmqCSharpGeneratorTask" classpathref="maven.compile.classpath" />
<generate maxVersion="5" source="${activemq-core-dir}" target="${nms-activemq-dir}" />
</tasks>
</configuration>
</plugin>
</plugins>
</build>

@@ -76,7 +76,7 @@ public void execute() throws BuildException {
{
CommandGenerator script = new CommandGenerator();
script.setJam(jam);
script.setTargetDir(target + "/src/main");
script.setTargetDir(target + "/src/main/csharp");
script.setOpenwireVersion(maxVersion);
script.run();
}

0 comments on commit c31b80e

Please sign in to comment.