-
1. JSFUnit, Questions on hot deployment
ssilvert Apr 20, 2011 4:42 PM (in response to anthonyhib)Well, your two issues are kind-of releated. The test folder defined in the deployer is indeed different from the WEB-INF/classes folder. The servlet spec is very specific about how things are loaded from WEB-INF/classes.
I'm guessing here, but you've probably got some kind of issue where a class in WEB-INF/classes refers to a class in WEB-INF/hot. Then the class in WEB-INF/hot tries to reference back into WEB-INF/classes and you get NCDFE. That's because the JSFDeployer's classloader can't see into WEB-INF/classes.
As for hot deployment, you would need to redeploy the JSFUnitDeployer. I don't think that's possible.
As you may know, the JSFUnitDeployer only works on AS5.0. I know it doesn't work on AS6 and I don't think it's working on AS5.1. For JSFUnit 2.0, you can use Arquillian and all your hot-deploy problems will be solved. I'm struggling to get some time to put out another beta, so stay tuned.
Stan
-
2. JSFUnit, Questions on hot deployment
anthonyhib Apr 21, 2011 4:33 AM (in response to ssilvert)That makes sense.
Thanks for the answer.
Cheers,
Anthony