ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Why don't my selectors select anything?
Date Fri, 01 Apr 2005 10:41:57 GMT
In contrast to Unix, Windows has not real root directory. I dont think
that the "Desktop" would help ... And if there is no common root directory,
you cant use one fileset - you have to have multiple.

<path id="p">
   <fileset dir="tmp/dir1/bar">
       <patternset id="fs.ps"> ... </patternset>
       <selector id="fs.sel"> ... </selector>
   </fileset>
   <fileset dir="tmp/dir2/baz">
       <patternset refid="fs.ps"/>
       <selector refid="fs.sel"/>
   </fileset>
   <fileset dir="opt/foo">
       <patternset refid="fs.ps"/>
       <selector refid="fs.sel"/>
   </fileset>
</path>


Jan


> -----Urspr√ľngliche Nachricht-----
> Von: Holger Rauch [mailto:holger.rauch@heitec.de]
> Gesendet am: Freitag, 1. April 2005 12:46
> An: user@ant.apache.org
> Betreff: Re: Why don't my selectors select anything?
> 
> Hi Jan!
> 
> Thanks a lot for your quick reply
> 
> On Fri, 01 Apr 2005, Jan.Materne@rzf.fin-nrw.de wrote:
> 
> > [...] 
> > <fileset dir="/" includes="tmp/dir1/bar/,tmp/dir2/baz/,opt/foo"/>
> 
> Ok, but does dir="/" really work on Win*, too? If not, is 
> there any way of
> making your suggestion platform independent?
> 
> TIA.
> 
> Greetings,
> 
> 	Holger
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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