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/15 15:06:30 UTC

[jira] Created: (MSUREFIRE-78) forkMode=once or pertest does not work on windows

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


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


[jira] Moved: (SUREFIRE-223) forkMode=once or pertest does not work on windows

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MSUREFIRE-78 to SUREFIRE-223:
------------------------------------------------

        Key: SUREFIRE-223  (was: MSUREFIRE-78)
    Project: Maven Surefire  (was: Maven 2.x Surefire Plugin)

> forkMode=once or pertest does not work on windows
> -------------------------------------------------
>
>                 Key: SUREFIRE-223
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-223
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: Win Xp
>            Reporter: Anita Kulshreshtha
>         Assigned To: 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

        

[jira] Closed: (MSUREFIRE-78) forkMode=once or pertest does not work on windows

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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


[jira] Commented: (MSUREFIRE-78) forkMode=once or pertest does not work on windows

Posted by "Anita Kulshreshtha (JIRA)" <ji...@codehaus.org>.
    [ 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


[jira] Commented: (MSUREFIRE-78) forkMode=once or pertest does not work on windows

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-78?page=comments#action_61177 ] 

Brett Porter commented on MSUREFIRE-78:
---------------------------------------

It requires 2.2-SNAPSHOT of the surefire plugin. Instructions were details on the dev@maven list if that's necessary.

> 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