Re: Retrieving surefire classpath from a test class

2008-02-26 Thread Alexander Klimetschek
(/ + _class.getCanonicalName().replace(., /) + .class).toString().replaceAll(-client.jar!, .jar!).replaceFirst(jar:file:([^!]+).*, $1) and append this to java.class.path. Kindofa hack though ... Stefan Alexander Klimetschek wrote: I forgot to mention that the unit test runs perfect in Eclipse

Retrieving surefire classpath from a test class

2008-02-25 Thread Alexander Klimetschek
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

Re: Retrieving surefire classpath from a test class

2008-02-25 Thread Alexander Klimetschek
behave the same without two different configurations. Alex Am 25.02.2008 um 20:58 schrieb Alexander Klimetschek: 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