Sonnek, Ryan wrote on Wednesday, December 17, 2003 6:03 PM:
> I'm a new plugin developer looking for resources on jelly
> scripting.  To be exact, I'm looking for how to iterate
> through a list of folders and modify files that match a
> certain pattern.  any tutorials or examples you could point
> me to?  I've searched through the plugins I have installed,
> but haven't found anything yet that matches this.

Just some hours ago Paul Libbrecht suggested an interesting possibility in the 
commons-dev list:

===== snip =======
Have you tried the ant:fileScanner tag ?
I see this at work in some maven.xml currently...
  <fileScanner var="xx"><fileset>....</fileset></fileScanner>
  <j:forEach items="${xx}" var="x">...

I fear paths don't fall into this... you would need to try and/or to 
look into the code of the tag and its related...
===== snap =======

You may surround the tags by an additional foreach for the folder list.

Regards,
Jörg

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

Reply via email to