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 2003/11/09 16:54:12 UTC

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

dion        2003/11/09 07:54:12

  Modified:    latka    project.xml plugin.jelly
               latka/xdocs changes.xml
  Log:
  Fix for MAVEN-993
  
  Revision  Changes    Path
  1.22      +1 -1      maven-plugins/latka/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/latka/project.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- project.xml	10 Oct 2003 19:21:01 -0000	1.21
  +++ project.xml	9 Nov 2003 15:54:12 -0000	1.22
  @@ -5,7 +5,7 @@
     <pomVersion>3</pomVersion>
     <id>maven-latka-plugin</id>
     <name>Maven Latka Plug-in</name>
  -  <currentVersion>1.3</currentVersion>
  +  <currentVersion>1.4-SNAPSHOT</currentVersion>
     <description/>
     <shortDescription>Run Latka scripts</shortDescription>
     <url>http://maven.apache.org/reference/plugins/latka/</url>
  
  
  
  1.3       +6 -0      maven-plugins/latka/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/latka/plugin.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.jelly	15 Feb 2003 14:47:39 -0000	1.2
  +++ plugin.jelly	9 Nov 2003 15:54:12 -0000	1.3
  @@ -76,7 +76,9 @@
     <goal name="latka:jmeter-convert"
       description="Convert a jmeter jmx file to a latka suite">
   
  +    <j:set var="foundFile" value="false"/>
       <u:available file="${jmeterFile}">
  +      <j:set var="foundFile" value="true"/>
         <j:set var="outFileName">${maven.build.dir}/latka/jmeter-suite.latka</j:set>
         <echo>Converting ${jmeterFile} to a latka test suite</echo>
         <!-- Major hack - set jaxp properties as they are foobared -->
  @@ -94,6 +96,10 @@
         </j:file>
         <echo>Latka test suite '${outFileName}' created</echo>
       </u:available>
  +    
  +    <j:if test="${!foundFile}">
  +      <fail>File ${jmeterFile} not found</fail>
  +    </j:if>
   
     </goal>
     
  
  
  
  1.6       +6 -0      maven-plugins/latka/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/latka/xdocs/changes.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- changes.xml	29 Sep 2003 06:18:39 -0000	1.5
  +++ changes.xml	9 Nov 2003 15:54:12 -0000	1.6
  @@ -7,6 +7,12 @@
   
     <body>
     
  +    <release version="1.4" date="in CVS">
  +      <action dev="dion" type="fix">
  +        Fix MAVEN-993. Complain if file to be converted doesn't exist
  +      </action>
  +    </release>
  +
       <release version="1.3" date="2003-09-29">
         <action dev="dion" type="update">
           update to xalan 2.4.1
  
  
  

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