smor        2002/11/06 05:50:13

  Modified:    src/plugins-build/console plugin.jelly
  Log:
  o Now, we can run a sequence of action in the console.
  Separate them with " ", ",", or ";" (for instance, "clean java:var").
  
  o "lastGoal" is set only if the last build was succesful.
  This way, if your kid plays with the keyboard and presses enter, you won't
  lose your last goal ! ;-)
  
  Revision  Changes    Path
  1.9       +4 -2      jakarta-turbine-maven/src/plugins-build/console/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/console/plugin.jelly,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- plugin.jelly      23 Oct 2002 14:19:40 -0000      1.8
  +++ plugin.jelly      6 Nov 2002 13:50:13 -0000       1.9
  @@ -30,8 +30,10 @@
           </j:when>
           <j:otherwise>
             <j:catch var="ex">
  -            <j:set var="lastGoal" value="${goal}"/>
  -            <attainGoal name="${goal}"/>
  +            <util:tokenize var="goals" delim=" ,;">${goal}</util:tokenize>
  +            <j:forEach var="partGoal" items="${goals}">
  +              <attainGoal name="${partGoal}"/>
  +            </j:forEach>
               <j:set var="lastGoal" value="${goal}"/>
             </j:catch>
             <j:if test="${ex != null}">
  
  
  

--
To unsubscribe, e-mail:   <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>

Reply via email to