ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: <fiilename> inside <fileset> doesn't have the expected behavior
Date Thu, 18 Aug 2005 17:59:17 GMT
Because the first one is part of a selector.

-- 
Jeffrey E. Care (carej@us.ibm.com)
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)


"Tardif, Sebastien" <STARDIF@anacomp.com> wrote on 08/18/2005 01:41:31 PM:

> This work:
> <copy todir="${jsp.dst.dir}">
>    <fileset dir="${dataviewservlet.dir}/sample">
>     <selector>
>      <or>
>       <filename name="DVMainLogoComponent.jsp"/>
>       <filename name="DVHitlistLogoComponent.jsp"/>
>       <filename name="DVHyperlinksComponent.jsp"/>
>      </or>
>     </selector>
>    </fileset>
> </copy>
> 
> But this doesn't:
> <copy todir="${jsp.dst.dir}">
>    <fileset dir="${dataviewservlet.dir}/sample">
>       <filename name="DVMainLogoComponent.jsp"/>
>       <filename name="DVHitlistLogoComponent.jsp"/>
>       <filename name="DVHyperlinksComponent.jsp"/>
>     </fileset>
> </copy>
> 
> And I received no error message so it's a valid Ant XML.
> 
> Anybody understand why the second version doesn't work?
> What's the logic of the test?
> 
> I'm using ANT 1.6.5 which is the latest official release.

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