[ 
http://jira.codehaus.org/browse/SUREFIRE-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed SUREFIRE-539.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6
         Assignee: Kristian Rosenvold

This was fixed with the upgrade of plexus-utils in r983693

> Double quotes in fork call / long classpath
> -------------------------------------------
>
>                 Key: SUREFIRE-539
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-539
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: classloading
>    Affects Versions: 2.4.3
>         Environment: Windows XP SP3
>            Reporter: Patrik Kleindl
>            Assignee: Kristian Rosenvold
>            Priority: Trivial
>             Fix For: 2.6
>
>
> We use a customized TestSuite for our test cases, it works fine when executed 
> in the IDE (Eclipse), but when i run mvn test then the test fails with a 
> nondescript
> [INFO] [surefire:test]
> [INFO] Surefire report directory: ...
> [ERROR] There are test failures.
> The config in pom.xml is
> <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-surefire-plugin</artifactId>
>                 <version>2.4.3</version>
>                 <configuration>
>                     <argLine>-Xms500M -Xmx500M -Xmn250M</argLine>
>                     <useManifestOnlyJar>false</useManifestOnlyJar>
>                     <includes>
>                    testClasses after here....
> When i tried it from the commandline with the debug option i saw a big block 
> of text when then fork call happend, as mentioned in the documentation the 
> classpath was very long. Although this might be the root of the problem i 
> also noticed that the statement had double quotes which might not work
> Forking command line: cmd.exe /X /C 
> "C:\Programme\Java\jdk1.5.0_16\jre\bin\java -Xms500M -Xmx500M -Xmn250M 
> -classpath "C:\...." org.apache.maven.surefire.booter.SurefireBooter 
> tempFiles"
> I cut out the long classpath and the file names after SurefireBooter but i 
> think you see what i mean
> It's no big deal as it runs fine on Linux and on Windows you can always 
> execute it from the IDE.

-- 
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

        

Reply via email to