dion 2004/06/29 06:20:23
Modified: html2xdoc/src/plugin-test maven.xml
html2xdoc/xdocs changes.xml
html2xdoc project.xml
Log:
Use assert taglib in plugin test
Revision Changes Path
1.3 +3 -10 maven-plugins/html2xdoc/src/plugin-test/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/maven-plugins/html2xdoc/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:56 -0000 1.2
+++ maven.xml 29 Jun 2004 13:20:23 -0000 1.3
@@ -16,6 +16,7 @@
*/
-->
<project xmlns:util="jelly:util"
+ xmlns:assert="assert"
xmlns:j="jelly:core">
<goal name="testPlugin" prereqs="clean,test-html2xdoc,test-html2xdoc-site">
@@ -23,19 +24,11 @@
<goal name="test-html2xdoc">
<attainGoal name="html2xdoc"/>
- <j:set var="expectedFile" value="${maven.gen.docs}/h1h2.xml"/>
- <util:file var="file" name="${expectedFile}" />
- <j:if test="${!(file.exists())}">
- <fail>${expectedFile} not generated</fail>
- </j:if>
+ <assert:assertFileExists file="${maven.gen.docs}/h1h2.xml"/>
</goal>
<goal name="test-html2xdoc-site">
<attainGoal name="site"/>
- <j:set var="expectedFile" value="${maven.docs.dest}/h1h2.html"/>
- <util:file var="file" name="${expectedFile}" />
- <j:if test="${!(file.exists())}">
- <fail>${expectedFile} not generated</fail>
- </j:if>
+ <assert:assertFileExists file="${maven.docs.dest}/h1h2.html"/>
</goal>
</project>
1.13 +3 -0 maven-plugins/html2xdoc/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/html2xdoc/xdocs/changes.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- changes.xml 16 May 2004 02:48:38 -0000 1.12
+++ changes.xml 29 Jun 2004 13:20:23 -0000 1.13
@@ -24,6 +24,9 @@
<author email="[EMAIL PROTECTED]">dIon Gillard</author>
</properties>
<body>
+ <release version="1.4-SNAPSHOT" date="in CVS">
+ <action dev="dion" type="update">Use assert taglib in plugin tests</action>
+ </release>
<release version="1.3" date="2004-05-15">
<action dev="dion" type="fix">Fix issues with DOM classes and jdk1.3</action>
</release>
1.32 +1 -1 maven-plugins/html2xdoc/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven-plugins/html2xdoc/project.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- project.xml 25 Jun 2004 15:24:28 -0000 1.31
+++ project.xml 29 Jun 2004 13:20:23 -0000 1.32
@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-html2xdoc-plugin</id>
<name>Maven Html2XDoc Plug-in</name>
- <currentVersion>1.3</currentVersion>
+ <currentVersion>1.4-SNAPSHOT</currentVersion>
<gumpRepositoryId>jakarta</gumpRepositoryId>
<description>Creates XDoc documentation from normal HTML
documentation.</description>
<shortDescription>HTML to xdoc transformer</shortDescription>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]