Am Donnerstag, 16. August 2007 18:48 schrieb Vaidya, Supriya A (US - Chicago):
> Hi:
>
> I have the following situation:
>
> com/mycompany/mypackage/application/.... has my class files, while
> com/mycompany/testcases has my test cases (Cactus).
>
> In creating the WAR file, I want to be able to exclude the testcases
> package. I understand that I can use the <warSourceExcludes> tag for
> this. However, the comma separated (or ; separated) list does not seem
> to work. So for example, if I have:
>
> <warSourceExcludes>WEB-INF/lib/*.jar,com/mycompany/testcases/*</warSourc
> eExcludes>

you should put your testclasses in src/test/java/ instead of src/main/java and 
your war should only inlcude src/main/java classes.

kind regards,
janning

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to