Hi all,

I have a test case which starts another JVM (a derby database server in network mode). The classpath for the new JVM needs jar files which are defined as test dependencies (derby is available in the form of maven artifacts, and I want to test it against the same derby version against which the actual code is written). The problem is that due to the surefire boot mechanism, it's not sufficient to read the classpath of the JVM in which test is running via System.getProperty("java.class.path").

How can I get access to the classpath of surefire?

Or is there another way to retrieve the path of the jar files defined in the pom from my junit test class?

Regards,
Alex

--
Alexander Klimetschek
[EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to