dion 2004/06/29 04:41:06
Modified: plugin/xdocs changes.xml
plugin project.xml plugin.jelly
Log:
Add assertFileNotFound tag to assert taglib
Revision Changes Path
1.25 +3 -0 maven-plugins/plugin/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/plugin/xdocs/changes.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- changes.xml 28 Jun 2004 11:13:18 -0000 1.24
+++ changes.xml 29 Jun 2004 11:41:05 -0000 1.25
@@ -24,6 +24,9 @@
<author email="[EMAIL PROTECTED]">Emmanuel Venisse</author>
</properties>
<body>
+ <release version="1.6-SNAPSHOT" date="in CVS">
+ <action dev="dion" type="add">Add assertFileNotFound tag</action>
+ </release>
<release version="1.5" date="2004-06-28">
<action dev="brett" type="fix" issue="MPPLUGIN-16">Install to
maven.plugin.dir instead of maven.home/plugins</action>
<action dev="brett" type="update">More consistency in default goal naming
(plugin:plugin)</action>
1.40 +1 -1 maven-plugins/plugin/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven-plugins/plugin/project.xml,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- project.xml 28 Jun 2004 11:13:17 -0000 1.39
+++ project.xml 29 Jun 2004 11:41:05 -0000 1.40
@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-plugin-plugin</id>
<name>Maven Plugin Plugin</name>
- <currentVersion>1.5</currentVersion>
+ <currentVersion>1.6-SNAPSHOT</currentVersion>
<description>Maven Plugin management plugin. Requires Maven 1.0 RC4.</description>
<shortDescription>Maven Plugin plugin</shortDescription>
<url>http://maven.apache.org/reference/plugins/plugin/</url>
1.40 +8 -0 maven-plugins/plugin/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/plugin/plugin.jelly,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- plugin.jelly 28 Jun 2004 09:42:48 -0000 1.39
+++ plugin.jelly 29 Jun 2004 11:41:05 -0000 1.40
@@ -331,6 +331,14 @@
<ant:fail>${file} does not exist.${msg}</ant:fail>
</j:if>
</define:tag>
+ <define:tag name="assertFileNotFound">
+ <!-- @file : Full file path -->
+ <!-- @msg : optional message to be displayed -->
+ <u:file var="fileAsFile" name="${file}"/>
+ <j:if test="${fileAsFile.exists()}">
+ <ant:fail>${file} found and not expected.${msg}</ant:fail>
+ </j:if>
+ </define:tag>
<define:tag name="assertEquals">
<!-- @expected : the expected value -->
<!-- @value : the actual value -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]