2008/1/25, Antonio Petrelli <[EMAIL PROTECTED]>: > Hi friends, > during my license-problem-busting I noticed that in struts-core there > are some classes using TestNG and JUnit, therefore these dependencies > must be at compile-scope. > So my question is: isn't it better to move these classes to a new > module, like "shale-test". to help other people testing? > This way we can remove not-runtime classes out of the core.
It seems that it is not so easy. In fact StrutsTestCase, TestNGStrutsTestCase and StrutsTestCaseHelper depend on the single Dispatcher class of the core. The problem is: if I move them, the tests cannot be run under the core, because the new module needs to be compiled first. And the new module, to be compiled, needs the core to be compiled. As you can see, there is a circular reference. At the moment, the only solution that I see is excluding JUnit and TestNG from the "lib" distribution with an explicit exclusion filter. Have you got a better idea? Ciao Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]