Replaced ${context.getParent().setVariable('maven.build.dest',tmp)} with the much better <j:set var="maven.build.dest" value="${tmp}" scope="parent"/>

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115834 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol committed 2004-07-16 13:06:43 +00:00
1 parent f378f2e17c
commit 6943f3b2a0
1 file changed
+2 -3
+2 -3
View File
@@ -157,9 +157,8 @@
<echo>Now using primary build.compiler : ${build.compiler}</echo>
<j:set var="tmp" value="${maven.clover.build.classes}"/>
<j:set var="mavenBuildDestOld" value="${context.parent.getVariable('maven.build.dest')}"/>
${context.getParent().setVariable('maven.build.dest',tmp)}
<j:set var="maven.build.dest" value="${maven.clover.build.classes}" scope="parent" />
</goal>
@@ -171,7 +170,7 @@
-->
<goal name="clover:off">
${context.getParent().setVariable('maven.build.dest',mavenBuildDestTestOld)}
<j:set var="maven.build.dest" value="${mavenBuildDestTestOld}" scope="parent" />
${context.removeVariable('build.compiler')}
<j:set var="maven.test.failure.ignore" scope="parent" value="${ignoreTestFailureOld}"/>