You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2004/06/29 15:14:36 UTC

cvs commit: maven-plugins/gump/xdocs changes.xml

dion        2004/06/29 06:14:36

  Modified:    gump/src/plugin-test maven.xml
               gump/xdocs changes.xml
  Log:
  Use assert taglib in plugin test
  
  Revision  Changes    Path
  1.3       +3 -6      maven-plugins/gump/src/plugin-test/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/gump/src/plugin-test/maven.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven.xml	4 Mar 2004 18:13:38 -0000	1.2
  +++ maven.xml	29 Jun 2004 13:14:36 -0000	1.3
  @@ -16,6 +16,7 @@
    */
    -->
   <project xmlns:util="jelly:util"
  +         xmlns:assert="assert"
            xmlns:j="jelly:core">
            
     <goal name="testPlugin" prereqs="test-gump">
  @@ -23,12 +24,8 @@
     </goal>
     
     <goal name="test-gump">
  -    <j:set var="expectedFile" value="${basedir}/gump.xml"/>
       <attainGoal name="gump"/>
  -    <util:file var="descriptor" name="${expectedFile}" />
  -    <j:if test="${!(descriptor.exists())}">
  -      <fail>gump.xml not generated</fail>
  -    </j:if>
  -    <delete file="${expectedFile}"/>
  +    <assert:assertFileExists file="${basedir}/gump.xml"/>
  +    <delete file="${basedir}/gump.xml"/>
     </goal>
   </project>
  
  
  
  1.8       +1 -0      maven-plugins/gump/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/gump/xdocs/changes.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- changes.xml	12 Jun 2004 02:27:12 -0000	1.7
  +++ changes.xml	29 Jun 2004 13:14:36 -0000	1.8
  @@ -25,6 +25,7 @@
     </properties>
     <body>
       <release version="1.4-SNAPSHOT" date="in CVS">
  +      <action dev="dion" type="update">Plugin tests now use assert taglib</action>
         <action dev="brett" type="add" issue="MPGUMP-1">Allow creation of &lt;maven descriptor element, and default to it</action>
         <action dev="brett" type="add">Add maven.gump.ant.target and maven.gump.maven.goal properties</action>
       </release>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org