Dmitri
The 'unitTest/testResources/testResource' is the right way to do it but I
suspect you have ommitted the directory tag. This one works for me (on beta
7)
<testResources>
<testResource>
<directory>src/iutest</directory>
<includes>
<include>log4j.properties</include>
</includes>
</testResource>
</testResources>
For future reference you may find the maven-project.xsd in the maven root
helpful. That's how I figured this and many other things out.
Tim
-----Original Message-----
From: Dmitri Plotnikov [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 25 January 2003 12:45 PM
To: "\" <[EMAIL PROTECTED]>
Subject: Copying test resources does not
I need to copy an xml file into the test-classes tree. I have tried all
permutations of unitTest/resources/resource and
unitTest/testResources/testResource etc, but maven b7 just would copy the
resources. Should I switch to some other, maybe earlier version?
The JXPath project.xml currently has this:
<build>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<resources>
<resource>
<directory>src/test</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</unitTest>
</build>
I'll appreciate any help.
- Dmitri
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>