dion 2003/03/27 05:06:14
Modified: src/plugins-build/clover plugin.jelly
Log:
Explicity use ant name space. In prep for removal of jeez etc
Revision Changes Path
1.4 +29 -28 maven/src/plugins-build/clover/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/clover/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 23 Feb 2003 15:55:21 -0000 1.3
+++ plugin.jelly 27 Mar 2003 13:06:14 -0000 1.4
@@ -2,6 +2,7 @@
<project
xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
xmlns:maven="jelly:maven"
xmlns:doc="doc">
@@ -23,15 +24,15 @@
|
-->
- <path id="clover.classpath">
- <pathelement path="${plugin.getDependencyPath('clover')}"/>
- </path>
+ <ant:path id="clover.classpath">
+ <ant:pathelement path="${plugin.getDependencyPath('clover')}"/>
+ </ant:path>
<j:set var="tmp.clover.excludes">
<j:forEach var="pat" items="${pom.build.unitTest.includes}"> ${pat} </j:forEach>
</j:set>
- <property name="clover.excludes" value="${tmp.clover.excludes}"/>
+ <ant:property name="clover.excludes" value="${tmp.clover.excludes}"/>
<goal name="maven-clover-plugin:register">
@@ -68,7 +69,7 @@
${pom.getContext().removeVariable('build.compiler')}
</postGoal>
- <property
+ <ant:property
name="clover.initstring"
value="${maven.clover.database.dir}/clover_coverage.db"/>
@@ -78,9 +79,9 @@
<maven:addPath id="maven.dependency.classpath" refid="clover.classpath"/>
- <mkdir dir="${maven.build.clover}"/>
- <mkdir dir="${maven.build.clover.classes}"/>
- <mkdir dir="${maven.clover.database.dir}"/>
+ <ant:mkdir dir="${maven.build.clover}"/>
+ <ant:mkdir dir="${maven.build.clover.classes}"/>
+ <ant:mkdir dir="${maven.clover.database.dir}"/>
<j:set var="tmp" value="${maven.build.clover.classes}"/>
@@ -107,19 +108,19 @@
| Grab the value maven.docs.dest from the xdoc plugin.
|
-->
- <mkdir dir="${cloverReportDirectory}"/>
+ <ant:mkdir dir="${cloverReportDirectory}"/>
- <java classname="com.cortexeb.tools.clover.reporters.html.HtmlReporter"
+ <ant:java classname="com.cortexeb.tools.clover.reporters.html.HtmlReporter"
fork="true">
- <arg line="-o ${cloverReportDirectory}"/>
- <arg line="-i ${clover.initstring}"/>
- <arg line="-t '${pom.name} - ${pom.currentVersion}'"/>
- <classpath>
- <path refid="maven-classpath"/>
- <pathelement path="${plugin.getDependencyPath('velocity')}"/>
- <pathelement path="${plugin.getDependencyPath('clover')}"/>
- </classpath>
- </java>
+ <ant:arg line="-o ${cloverReportDirectory}"/>
+ <ant:arg line="-i ${clover.initstring}"/>
+ <ant:arg line="-t '${pom.name} - ${pom.currentVersion}'"/>
+ <ant:classpath>
+ <ant:path refid="maven-classpath"/>
+ <ant:pathelement path="${plugin.getDependencyPath('velocity')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('clover')}"/>
+ </ant:classpath>
+ </ant:java>
</goal>
@@ -128,17 +129,17 @@
prereqs="clover:on,test:test"
description="Generate Swing test coverage reports with Clover">
- <mkdir dir="${cloverReportDirectory}"/>
+ <ant:mkdir dir="${cloverReportDirectory}"/>
- <java classname="com.cortexeb.tools.clover.reporters.jfc.Viewer"
+ <ant:java classname="com.cortexeb.tools.clover.reporters.jfc.Viewer"
fork="yes">
- <arg line="${clover.initstring}"/>
- <classpath>
- <path refid="maven-classpath"/>
- <pathelement path="${plugin.getDependencyPath('velocity')}"/>
- <pathelement path="${plugin.getDependencyPath('clover')}"/>
- </classpath>
- </java>
+ <ant:arg line="${clover.initstring}"/>
+ <ant:classpath>
+ <ant:path refid="maven-classpath"/>
+ <ant:pathelement path="${plugin.getDependencyPath('velocity')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('clover')}"/>
+ </ant:classpath>
+ </ant:java>
</goal>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]