Adrian Pillinger wrote:
How can I add a directory to my test classpath without putting it in
the target/test-classes directory?
Basically I have a conf directory for bootstrapping embedded jboss in
my JUnit test. Then I deploy the target/test-classes directory to
jboss to deploy my code. If the conf files for jboss exist in
target/test-classes jboss attempts to re-deploy the conf files again!
I have tried setting
<testResource>
<directory>${baseDir}/src/test/resources/jbossconf</directory>
<targetPath>../jbossconf</targetPath>
</testResource>
This puts the conf files in target/jbossconf instead of in
target/test-classes/jbossconf but NOT on the classpath :(
Any help would be much appreciated.
http://jira.codehaus.org/browse/SUREFIRE-180 addresses this issue.
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]