Hi List!

I got some resources for the testing phase that should exist on the classpath while testing with surefire.

If I merely add

<testResources>

<testResource>                                                       
<directory>${basedir}/src/test/config</directory>
</testResource>

<testResource>                                                                            
<directory>${basedir}/src/main/config</directory>
</testResource>

</testResources>

The tests run fine - but as I don't want the resources added to the attached tests (I jar the tests at testing phase) - I changed the configuration of resources to place the resources in target/test-resources with the targetPath element.

But now I have to add this directory to the classpath while executing tests - but the classpath list for surefire is readonly.

Any tricks to get around this?




--
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]

Reply via email to