--- John Mc Quillan <[EMAIL PROTECTED]> wrote:
> Is there a way in Ant to get at the individual files in the file list

Yes -- 'id' the <fileset>, then 'refid' that in <pathconvert>.

> A command line parameter allows the package name for output to be
> defined. What I'd like to do is set the package name to the name
> of the input file. Can I do this with a script?

That, or the ant-contrib <foreach> task.

> How would I get the file name in a script?

Once the set of files is in a property (as a list), you can reference that
property (in <foreach>) or get the value of the property (in <script>) and
step through it there.

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to