You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/03/05 07:25:47 UTC
svn commit: r750334 -
/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java
Author: davsclaus
Date: Thu Mar 5 06:25:47 2009
New Revision: 750334
URL: http://svn.apache.org/viewvc?rev=750334&view=rev
Log:
CAMEL-1423: camel:run now uses same configuraiton name for DOT as camel:dot, and its disabled by default now in camel:run.
Modified:
camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java
Modified: camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java
URL: http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java?rev=750334&r1=750333&r2=750334&view=diff
==============================================================================
--- camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java (original)
+++ camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java Thu Mar 5 06:25:47 2009
@@ -99,12 +99,11 @@
protected String dotDir;
/**
- * Allows the DOT file generation to be disabled
+ * Allows the DOT file generation to be enabled
*
- * @parameter expression="true"
- * @readonly
+ * @parameter expression="false"
*/
- protected boolean dotEnabled;
+ protected boolean useDot;
/**
* @component
@@ -337,7 +336,7 @@
// lets create the command line arguments to pass in...
List<String> args = new ArrayList<String>();
- if (dotDir != null && dotEnabled) {
+ if (dotDir != null && useDot) {
args.add("-o");
args.add(dotDir);
}