At 12:44 PM 17/10/2002, Kuisong.Tong wrote:
>Hi:
>In ant ,I can use fileset referenced a set of files, but when I write
>script in jelly, I don't know how I can't use the fileset, Can you help
>me ?
Yep, see src\test\org\apache\commons\jelly\ant\fileScanner.jelly (in-lined
below):
<?xml version="1.0"?>
<j:jelly xmlns:j="jelly:core" xmlns="jelly:ant">
<fileScanner var="scanner">
<fileset dir="src/test" includes="**/*.jelly"/>
</fileScanner>.
<j:forEach var="file" items="${scanner.iterator()}">
Found ${file.absolutePath}
</j:forEach>...
</j:jelly>
HTH
Robert
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>