ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: How to get just the file/dir name from a FileSet item?
Date Thu, 05 Sep 2002 00:36:50 GMT
--- "STONE,ROBERT (Non-HP-SanDiego,ex1)" <bob_stone2@non.hp.com> wrote:
> I'm trying to provide a prompt list for the user as follows:
> 1. Use foreach to iterate through the list of files/dirs
> 2. For each file - output current index and the base file name
> 3. Capture number input from the user and save the corresponding
>    property
> 4. Do something based on the property obtained

You might be able to do it with standard tasks + <foreach>, but I suspect
it could get monumentally convoluted (assuming it'd be doable at all).
Recommendation: Use <script> or write a task.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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


Mime
View raw message