ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: <jar> with multiple <libs> and a <fileset>
Date Thu, 15 Aug 2002 00:02:05 GMT
I believe that "exclude" is singular for a reason.  It doesn't take a 
list.  Unless the stuff you are trying to exclude has commas in it, Ant is 
doing exactly the right thing by not working with your last case.

Jake

At 03:33 PM 8/14/2002 -0700, you wrote:

>Thanks to all who watched the saga unfold. I have the answer. It seems that
>either of these works:
>
>         <fileset id="files.war.dtapps"
>                  dir="${build.web.dir}/dtapps"
>                  excludes="**/*.java,**/*.class,**/WEB-INF/web.xml"/>
>
>or
>
>         <fileset id="files.war.dtapps"
>                  dir="${build.web.dir}/dtapps">
>                  <exclude name="**/*.java"/>
>                  <exclude name="**/*.class"/>
>                  <exclude name="**/WEB-INF/web.xml"/>
>         </fileset>
>
>but this doesn't.
>
>         <fileset id="files.war.dtapps"
>                  dir="${build.web.dir}/dtapps">
>                  <exclude name="**/*.java,**/*.class,**/WEB-INF/web.xml"/>
>         </fileset>
>
>Just some syntacitcal confusion, though I must admit it seems a bit nitpicky.
>
>-- Ian
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Ian Duggan      ian.duggan@demandtec.com        http://www.demandtec.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>DemandTec, Inc.
>1 Circle Star Way Suite 200
>San Carlos, CA 94070
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message