This is untested --

You can use <filelist> to generate a list of your *.jj files, then use
<pathconvert> to place the list in a property, then use the ant-contrib
<for> to iterate over the property passing each file in the list to javacc.

HTH Bill

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, July 22, 2005 11:25 AM
To: [email protected]
Subject: javacc on multiple files

Hi,
    I have a directory of files to compile with javacc (note the extra "c"),
but it looks like the javacc optional task only lets you specify one file.
I would like to be able to specify the parent directory, and have ant run
javacc on all of the *.jj files in that directory.  Is there any way to do
that?  (I am trying to avoid having to explicitly specify each .jj file.)
Thanks,
           --Paul Lynch (eph1v3t8 at mailblocks.com)

----------------------------------------------
Mailblocks - A Better Way to Do Email
http://about.mailblocks.com/info


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




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

Reply via email to