activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foco...@apache.org
Subject svn commit: r413787 - in /incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven: ConsumerMojo.java ProducerMojo.java
Date Tue, 13 Jun 2006 02:24:24 GMT
Author: foconer
Date: Mon Jun 12 19:24:23 2006
New Revision: 413787

URL: http://svn.apache.org/viewvc?rev=413787&view=rev
Log:
Added support for reportType parameter.

Modified:
    incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
    incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java

Modified: incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java?rev=413787&r1=413786&r2=413787&view=diff
==============================================================================
--- incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
(original)
+++ incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ConsumerMojo.java
Mon Jun 12 19:24:23 2006
@@ -183,6 +183,12 @@
      */
     private String reportDirectory;
 
+    /**
+     * @parameter expression="${sysTest.reportType}" default-value="xml"
+     * @required
+     */
+    private String reportType;
+
     public void execute()
             throws MojoExecutionException {
 
@@ -224,7 +230,8 @@
             "sysTest.numClients=" + numClients,
             "sysTest.totalDests=" + totalDests,
             "sysTest.destDistro=" + destDistro,
-            "sysTest.reportDirectory=" + reportDirectory
+            "sysTest.reportDirectory=" + reportDirectory,
+            "sysTest.reportType=" + reportType
         };
 
         return options;

Modified: incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java?rev=413787&r1=413786&r2=413787&view=diff
==============================================================================
--- incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java
(original)
+++ incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/maven/ProducerMojo.java
Mon Jun 12 19:24:23 2006
@@ -151,6 +151,12 @@
      */
     private String reportDirectory;
 
+    /**
+     * @parameter expression="${sysTest.reportType}" default-value="xml"
+     * @required
+     */
+    private String reportType;
+
 
     public void execute()
             throws MojoExecutionException {
@@ -184,7 +190,8 @@
             "sysTest.numClients=" + numClients,
             "sysTest.totalDests=" + totalDests,
             "sysTest.destDistro=" + destDistro,
-            "sysTest.reportDirectory=" + reportDirectory 
+            "sysTest.reportDirectory=" + reportDirectory,
+            "sysTest.reportType=" + reportType
         };
 
         return options;



Mime
View raw message