[ http://jira.codehaus.org/browse/MSUREFIRE-78?page=all ] Brett Porter closed MSUREFIRE-78: ---------------------------------
Assign To: Brett Porter Resolution: Duplicate > forkMode=once or pertest does not work on windows > ------------------------------------------------- > > Key: MSUREFIRE-78 > URL: http://jira.codehaus.org/browse/MSUREFIRE-78 > Project: Maven 2.x Surefire Plugin > Type: Bug > Environment: Win Xp > Reporter: Anita Kulshreshtha > Assignee: Brett Porter > > > I am building a simple HelloWorldTest.java. The test builds fine with 'mvn > test'. When I use 'mvn -DforkMode=once test', > I get BUILD ERROR. The surefire-reports directory is not created. One of the > 3 files left behind in the target directory is > surefire-classloader.properties. Its contents are : > #classpath entries > #Wed Mar 15 08:09:47 EST 2006 > childDelegation=true > classpath=D\:\\xxxxx\\geronimo\\build\\geronimo-m2\\modules\\kernel\\target\\test-classes\:D\:\\xxxxx\\geronimo\\build\\geronimo-m2\\modules\\kernel\\target\\classes\:C\:\\Documents > and > Settings\\User\\.m2\\repository\\junit\\junit\\3.8.1\\junit-3.8.1.jar\:C\:\\Documents > and > Settings\\User\\.m2\\repository\\org\\apache\\maven\\maven-plugin-api\\2.0\\maven-plugin-api-2.0.jar\:C\:\\Documents > and > Settings\\User\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire\\1.5.3-SNAPSHOT\\surefire-1.5.3-SNAPSHOT.jar > It uses ':' as a path separator. This issue was discusses earlier in > Msurefire-76 and closed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira