java - ANT creating a WAR file and excluding a word -


when building war file want exclude files have word "test" in them. there way exclude files in 1 exclude tag?

yes, using in <fileset>:

<exclude name="**/*test*"/> 

in fact, first example in ant manual <fileset>.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -