ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: restrict and selector
Date Mon, 29 Jan 2007 17:15:46 GMT

--- Mikael Sitruk <MikaelS@Amdocs.com> wrote:

> 
> Hi
> 
>  
> 
> I’ve tried to use selector into a restrict
> resource collection, but ant does not allow it,
> indicating that the element (the selector used) is
> not supported. Any suggestion?

Mikael:  it looks like you are trying to use the
<filename> FILE selector where you probably want the
<name> RESOURCE selector:  i.e. <restrict> doesn't
understand File selectors, only Resource selectors.

HTH,
Matt

> 
>  
> 
> Sample:   
> 
> <restrict>
> 
>   <union>
> 
>     <fileset dir="Dir1"/>
> 
>     <fileset dir="Dir2"/>
> 
>     <fileset dir="Dir3"/>
> 
>   </union>
> 
>   <filename name=”xxx.x”/>
> 
> </restrict>
> 
>  
> 
> 10x
> 
> Mikael Sitruk
> 
> Amdocs Java Foundation
> 
>  
> 
> 
> 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
> 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

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


Mime
View raw message