Thomas Vandahl wrote:
Scott Eade wrote:
Why would yaafi be insisting that a componentRoles.xml file be present
when it is run from within eclipse?
My guess is something in the range of "forkMode", see
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
Could you please try to experiment a bit with that?
I tried switching to maven-2.1 first but the problem persisted.
Adding the following to the build element resolved the problem:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- version>2.4.2</version -->
<configuration>
<forkMode>always</forkMode>
</configuration>
</plugin>
</plugins>
I recently switched to OS X for a chunk of my development if this is
relevant.
I would still question the specific test case,
YaafiContainerTest.testLoadingContainerWithNoRolesfileFails(), as it
appears that the exception that is thrown may not be the one that is
being tested for.
I will vote on the testcontainer-1.0.6 release shortly.
Thanks for your help.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]