You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anita Kulshreshtha (JIRA)" <ji...@codehaus.org> on 2006/03/16 02:54:32 UTC
[jira] Commented: (MSUREFIRE-78) forkMode=once or pertest does not
work on windows
[ http://jira.codehaus.org/browse/MSUREFIRE-78?page=comments#action_61174 ]
Anita Kulshreshtha commented on MSUREFIRE-78:
---------------------------------------------
I have read through the comments on surefire-30. It is clear to me that I need to use surefire-booter-2.0.jar. As of today
maven-surefire-plugin-2.1.3-SNAPSHOT downloads surefire-booter-1.5.3-SNAPSHOT. see
http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-surefire-plugin/pom.xml?view=markup
I do not reference the surefire-booter directly. Am I supposed to create my own version of surefire-plugin which download the correct
jar.
> 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