[ https://issues.apache.org/jira/browse/TUSCANY-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584734#action_12584734 ]
Andreas Veithen commented on TUSCANY-2187: ------------------------------------------ Actually this looks more like SUREFIRE-297. I tested with 2.4 but it doesn't work. I also tested various other combinations of versions and ways of quoting the argLine value, but without success. Note that from SUREFIRE-297 it is not clear how this is supposed to work, i.e. how to correctly quote the value. I also tested the following: <systemProperties> <property> <name>java.endorsed.dirs</name> <value>${java.endorsed.dirs}</value> </property> </systemProperties> But I can't test if this has the desired effect. Indeed, on my platform the tests run just fine without the java.endorsed.dirs property, so I don't have the possibility to test if this works correctly. > 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]