Fix for MAVEN-993
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114278 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user