Hi. I have integrated the first of hopefully many tests into out environment. Since I am testing struts actions, I should also say that I have strutstestcase on the front of this, but I don't think it changes the problem I am having.
My working environment is to have my application .war file built as normal. Since I am using Cactus, I have added to the .war the following: - Updated web.xml that specifies the ServletRedirector servlet mapping - Required cactus and strutstestcase jars in WEB-INF/lib - Test Cases built into a separate package structure Naturally this .war is packaged up into a .ear for deployment on JBoss. Everything works fine. However the problem with this approach is that the .war file is not suitable for distribution to clients. It contains cactus jars and classes that are not necessary. What we want to do is prepare the application .ear without anything related to unit testing in it, and package a separate .war or .ear with all the testing classes and jars in it. This is so that once the testing is complete, we can be confident that the .ear we have is good, and can be distributed as-is. Otherwise the only alternative is to package the .ear for testing, test, and then repackage the .ear for distribution. Can this be done? Thanks, Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
