Hi Ryan,

I don't think it's possible. Maybe you could manually try removing the
dependency to understand what's the cause of your problem.
If RichFaces is doing something under the cover that causes the test to
fail, it seems to be a bad strategy not to try to tackle it directltly.
Trying to workaround it by excluding it when testing could backfire when in
prod, imo.

Just a thought : couldn't your problem come from a dependency coming from
TestNg or RichFaces that makes running themselves together
problematic/incompatible?

Cheers.

2008/10/13 Ryan Cuprak <[EMAIL PROTECTED]>

> Hello,
>  Does anyone know how to exclude a runtime dependency from the test
> classpath? I am using RichFaces and TestNG. When I run my Seam TestNG tests
> RichFaces tries to perform some operations which causes a test to fail. I
> want RichFaces dependencies in my war file but I don't want them added to
> the classpath when running tests.
>
> Thanks!
> -Ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to