After some discussion on IRC, we have decided to support both
testResources (with a deprecation warning) and unitTest/resources.
Sorry for being so obstinate about this, I originally thought that this
functionality was not in b7, which was wrong.
Thanks,
James
On Thu, 2002-10-24 at 15:42, [EMAIL PROTECTED] wrote:
> jtaylor 2002/10/24 12:42:19
>
> Modified: src/plugins-build/test plugin.jelly
> Log:
> testResources -> unitTest/resources
>
> I am _quite_ certain that these do not break the bootstrap, and have made
> every effort to verify them. Jason, if they still do not work for you
> please let me know what is going wrong.
>
> Note: per Jason's earlier email, these still should be adapted to behave
> in the same way as jar resources.
>
> Revision Changes Path
> 1.19 +3 -3 jakarta-turbine-maven/src/plugins-build/test/plugin.jelly
>
> Index: plugin.jelly
> ===================================================================
> RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/test/plugin.jelly,v
> retrieving revision 1.18
> retrieving revision 1.19
> diff -u -r1.18 -r1.19
> --- plugin.jelly 19 Oct 2002 02:48:51 -0000 1.18
> +++ plugin.jelly 24 Oct 2002 19:42:19 -0000 1.19
> @@ -3,10 +3,10 @@
> <project xmlns:j="jelly:core" xmlns:u="jelly:util">
>
> <j:choose>
> - <j:when test="${pom.build.testResources == null}">
> + <j:when test="${pom.build.unitTest.resources == null}">
> <j:set var="maven.has.test.resource.patterns" value="false"/>
> </j:when>
> - <j:when test="${pom.build.testResources.isEmpty()}">
> + <j:when test="${pom.build.unitTest.resources.isEmpty()}">
> <j:set var="maven.has.test.resource.patterns" value="false"/>
> </j:when>
> <j:otherwise>
> @@ -287,7 +287,7 @@
> <!-- Copy any resources that must be present for run tests. -->
>
> <copy todir="${maven.test.dest}">
> - <j:forEach var="res" items="${pom.build.testResources}">
> + <j:forEach var="res" items="${pom.build.unitTest.resources}">
> <fileset dir="${res.directory}">
> <j:forEach var="inc" items="${res.includes}">
> <include name="${inc}"/>
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>
>
--
To unsubscribe, e-mail: <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>