How to exclude JUnit classes from WEB-INF/classes?

Does anyone know how to exclude compiled Junit class files from the WEB-INF/classes directory in a web application module? I've identified a separate "test" source tree in the "Paths" configuration dialog along with a separate output directory (i.e. "testclasses" instead of the default "classes"). However, when IntelliJ builds the web app it still places the test output in the war directory I've established for the module. Of course, I could create ant files to do the work, but I'd rather try the built in build configurations first. I'm using 4.0.1

Please sign in to leave a comment.