vmassol     2004/04/22 13:58:42

  Modified:    integration/maven plugin.jelly
  Log:
  display a message when there are no Cactus tests to run
  
  Revision  Changes    Path
  1.26      +15 -10    jakarta-cactus/integration/maven/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/integration/maven/plugin.jelly,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- plugin.jelly      22 Apr 2004 20:50:12 -0000      1.25
  +++ plugin.jelly      22 Apr 2004 20:58:42 -0000      1.26
  @@ -290,16 +290,21 @@
     <goal name="cactus:test" description="Run all Cactus tests" 
         prereqs="cactus:init">
   
  -    <j:if test="${cactusSourcePresent}">  
  -      <j:choose>
  -        <j:when test="${context.getVariable('cactus.is.ear') == 'true'}">
  -          <attainGoal name="cactus:test-ear"/>
  -        </j:when>
  -        <j:otherwise>
  -          <attainGoal name="cactus:test-war"/>
  -        </j:otherwise>
  -      </j:choose>
  -    </j:if>
  +    <j:choose>
  +      <j:when test="${cactusSourcePresent}">
  +        <j:choose>
  +          <j:when test="${context.getVariable('cactus.is.ear') == 'true'}">
  +            <attainGoal name="cactus:test-ear"/>
  +          </j:when>
  +          <j:otherwise>
  +            <attainGoal name="cactus:test-war"/>
  +          </j:otherwise>
  +        </j:choose>
  +      </j:when>
  +      <j:otherwise>
  +        <ant:echo>No Cactus tests to run.</ant:echo>
  +      </j:otherwise>
  +    </j:choose>
   
     </goal>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to