You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <tu...@ws.apache.org> on 2008/04/02 19:27:24 UTC
[jira] Commented: (TUSCANY-2187) Surefire fails because of
java.endorsed.dirs setting
[ https://issues.apache.org/jira/browse/TUSCANY-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584678#action_12584678 ]
Luciano Resende commented on TUSCANY-2187:
------------------------------------------
This looks like [SUREFIRE-307] - Tests fail if in path with spaces, and it seems to be fixed in surefire 2.4.
Could you please try to move the surefire plugin to 2.4 version and see if that helps ?
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org