[ http://jira.codehaus.org/browse/MSUREFIRE-153?page=comments#action_75353 
] 
            
Sami Kosonen commented on MSUREFIRE-153:
----------------------------------------

Thank's, this patch was very helpful. Just I would like to have one more thing 
added there.

Now in this patch additional classpath elements are added in the classpath and 
in the surefire classpath, but could it be added also in the Surefire boot 
classpath?

Currently in the patch:
                        surefireBooter.addClassPathUrl( classpathElement );
                        surefireBooter.addSurefireClassPathUrl( 
classpathElement );

Could there be also:
                        surefireBooter.addSurefireBootClassPathUrl( 
classpathElement );

Our project's test cases work only when these classpath elements are added in 
the Surefire boot classpath. In our case these other two don't help.



> Ability to add additions to classpath
> -------------------------------------
>
>                 Key: MSUREFIRE-153
>                 URL: http://jira.codehaus.org/browse/MSUREFIRE-153
>             Project: Maven 2.x Surefire Plugin
>          Issue Type: Improvement
>         Environment: N/A
>            Reporter: David J. M. Karlsen
>         Assigned To: fabrizio giustina
>         Attachments: MSUREFIRE-153-maven-surefire-plugin.patch, 
> SurefirePlugin.java-diff
>
>
> There should be a possibility to add arbritary resources to the classpath 
> while executing the tests. These resources would only be available while 
> executing the tests, so they won't be added in the archive.
> i suggest a configuration element
> <extendedClasspaths>
>  <extendedClasspath>some/path</extendedClasspath>
>  <extendedClasspath>/some/other/path</extendedClasspath>
> </extendedClasspaths>
> This issue somewhat related to http://jira.codehaus.org/browse/MJAR-13 / 
> ability to exclude/include filtering in archiver/jar-plugin

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