You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "developer.Abe (JIRA)" <ji...@codehaus.org> on 2007/07/24 20:57:13 UTC
[jira] Commented: (SUREFIRE-117) ability to add dependency to jvm's
classpath rather in surefirebooter classloader
[ http://jira.codehaus.org/browse/SUREFIRE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103154 ]
developer.Abe commented on SUREFIRE-117:
----------------------------------------
I am still getting the following when
<useSystemClassLoader>true</useSystemClassLoader>
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\Source\test\trunk\core\target\surefire-repo
rts
[INFO] Building jar: c:\temp\surefirebooter37241.jar
java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
Exception in thread "main"
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Is there a fix for work around.
Currently using XP
I have vendor required classes in jre/lib/ext
Regards,
Abe
> ability to add dependency to jvm's classpath rather in surefirebooter classloader
> ---------------------------------------------------------------------------------
>
> Key: SUREFIRE-117
> URL: http://jira.codehaus.org/browse/SUREFIRE-117
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.0 (2.2 plugin)
> Environment: xp
> Reporter: Dan Tran
> Assignee: Kenney Westerhof
> Fix For: 2.4
>
> Attachments: MSUREFIRE-121-booter.patch, MSUREFIRE-121.plugin.patch, MSUREFIRE-121.plugin.patch2, MSUREFIRE-121.plugin.patch3
>
>
> I have a usecase where i have a jar file got loaded by -Xbootclasspath, that jar file then loads classes from another jar ( my dependency)
> expected in the classpath.
> The problem is that surefire plugin does not add my dependencies at JVM commanline thru -classpath option, but after the JVM starts
--
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