hello,
in fact the classpath you get is not the right one due to classloader
inheritance
http://maven.apache.org/guides/mini/guide-maven-classloading.html
It seems that java.class.path is set at the jvm launch so it cannot hold
dynamic modification from classloader...

To get the classpath of your project you should use the API of MavenProject
there's method like
.getTestClasspathElements()
.getTestCompileSourceRoots()

cordialement.




-- 
View this message in context: 
http://www.nabble.com/maven2-TestCase-with-System.getProperty%28%22java.class.path%22%29--tf1927109.html#a5283616
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to