[jboss-svn-commits] JBL Code SVN: r24447 - labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Dec 19 16:08:39 EST 2008


Author: pgier
Date: 2008-12-19 16:08:39 -0500 (Fri, 19 Dec 2008)
New Revision: 24447

Modified:
   labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java
Log:
[JBBUILD-508] Change skip notification to use the echo task.

Modified: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java	2008-12-19 21:01:52 UTC (rev 24446)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java	2008-12-19 21:08:39 UTC (rev 24447)
@@ -23,27 +23,23 @@
 package org.jboss.tools.buildmagic.task.module;
 
 import java.io.File;
-
+import java.util.Iterator;
+import java.util.LinkedList;
 import java.util.List;
-import java.util.LinkedList;
-import java.util.Iterator;
+import java.util.Map;
 import java.util.StringTokenizer;
-import java.util.Map;
 
-import org.apache.tools.ant.Task;
 import org.apache.tools.ant.BuildEvent;
+import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
-import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.taskdefs.Echo;
 import org.apache.tools.ant.taskdefs.Property;
-import org.apache.tools.ant.taskdefs.Echo;
-
-import org.jboss.util.Strings;
-
+import org.jboss.tools.buildmagic.task.AbstractBuildListener;
+import org.jboss.tools.buildmagic.task.Ant;
 import org.jboss.tools.buildmagic.task.ResolveProperties;
-import org.jboss.tools.buildmagic.task.Ant;
-import org.jboss.tools.buildmagic.task.AbstractBuildListener;
-
 import org.jboss.tools.buildmagic.task.util.TaskLogger;
+import org.jboss.util.Strings;
 
 /**
  * Executes a set of modules (sub-projects).
@@ -393,7 +389,11 @@
 
             if ( externalBuild )
             {
-               log.info("Skipping module build due to externalBuild setting.");
+               Echo skipNotification = new Echo( );
+               skipNotification.setProject( getProject() );
+               skipNotification.setTaskName("echo");
+               skipNotification.setMessage("Skipping module build due to externalBuild setting.");
+               skipNotification.execute();
             }
             else
             {




More information about the jboss-svn-commits mailing list