How to exclude unit tests from WAR using the Google App Engine plugin?

I am using the Google Application Engine plugin for Eclipse 3.4 and I have added unit tests to my projects. Unit tests are located in the source folder with a name teststhat is separate from the source folder src. But in the generated war / class, there are test classes.

In any case, do not put test classes in the generated directory war/classes?

Thank.

+5
source share
1 answer

maven, eclipse, m2eclipse, .

, , : , " Java" "". , . , " ", src/main/java, .... war/classes, src/main/test, test/classes. , .

EDIT: ​​ maven

maven build IDE, , . , dooapp . , , GAE maven , .

+6

All Articles