Monday, July 1, 2013

Exclude test code being pack into WAR

Here is another stupid putting the test code right under the src directory. I am not sure what is the purpose of doing this since we know that test code should not be deploy into production server, thus I have to exclude it from the main code. I mean not to delete the test code but to exclude them from being package into WAR. This is how I do it:

No comments: