Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
filelist/fileset with multiple directory

filelist/fileset with multiple directory

2007-01-25       - By Mikael Sitruk
Reply:     1     2     3     4     5     6     7     8     9     10  


I've better understood your answer now, I've just a last question for the
implementation of the custom selector:
Can a custom selector get a reference to a patternset or can I define a pattern
set in a custom selector

If I take back your solution
<restrict>
 <union>
   <fileset dir="Dir1"/>
   <fileset dir="Dir2"/>
   <fileset dir="Dir3"/>
 </union>
 <returnsfirstmatch/>
</restrict>

I would like to change the returnsfirstmatch to
<returnsfirstmatch>
  <param name="patternref" value="alreadydefinedpattern"/>
</returnsfirstmatch>

Or
<returnsfirstmatch>
   <patternset>
      <includesfile name="a.txt"/>
   </patternset>
</returnsfirstmatch>


Is it possible?
10x

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@(protected)]
Sent: Thursday, 25 January, 2007 06:39
To: user@(protected)
Subject: Re: filelist/fileset with multiple directory

On Thu, 25 Jan 2007, Mikael Sitruk <MikaelS@(protected)> wrote:

> 1. From my understanding the selector are part of a fileset,

Not necessarily, in my answer I used it inside a <restrict> resource
collection (and I used a Resourceselector, not a FileSelector).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


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

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.