Surefire fails because of java.endorsed.dirs setting
----------------------------------------------------

                 Key: TUSCANY-2187
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2187
             Project: Tuscany
          Issue Type: Bug
          Components: Build System
         Environment: Windows XP with Java home "C:\Program 
Files\Java\jdk1.5.0_10"
            Reporter: Andreas Veithen
            Priority: Minor


In revision 642377, the following setting was added to the Surefire plugin 
configuration in sdo/pom.xml:

<argLine>-Djava.endorsed.dirs=${java.endorsed.dirs}</argLine>

On systems where the path to the Java directory contains spaces (as is usually 
the case on most Windows systems), execution of the tests (e.g. in sdo/impl) 
fails with the following kind of error:

java.lang.NoClassDefFoundError: Files\Java\jdk1/5/0_10\jre\lib\endorsed

I tried to add quotes to the argument, but I couldn't figure out how to make 
Maven understand that the value of argLine is a single argument.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to