ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sam.hendley" <sam.hend...@summus.com>
Subject Re: Selecting files from disparate directories when the files are not in other directories
Date Thu, 08 Feb 2007 20:16:59 GMT

You should look at the selectors in ant 1.7 (1.62?) they should allow you to
build the fileset by using the <present negate=true> selector in the
fileset.



Mikael Sitruk-2 wrote:
> 
> 
> Hi
> 
>  
> 
> Is it possible to select a set of files from several directories only if
> they are not present in another set of directories
> 
> For example I have:
> 
>  
> 
> Dir1: a.txt
> 
> Dir2: b.txt
> 
> Dir3: c.txt
> 
>  
> 
> Directories holding the files to exclude
> 
> Dir4: a.txt
> 
>  
> 
> I would like to get b.txt and c.txt only (since a.txt is present in Dir1
> and Dir4)
> 
>  
> 
> Regards,
> 
>  
> 
> Mikael Sitruk
> 
> Amdocs Java Foundation
> 
> +972.9.776.1075 (desk)
> 
> AMDOCS > JF & EXTRACT TOOL
> 
>  
> 
> 
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement,
> you may review at http://www.amdocs.com/email_disclaimer.asp
> 
> 

-- 
View this message in context: http://www.nabble.com/Selecting-files-from-disparate-directories-when-the-files-are-not-in-other-directories-tf3156276.html#a8873295
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message