ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Rich" <b...@wilandra.com>
Subject RE: javacc on multiple files
Date Fri, 22 Jul 2005 18:47:45 GMT
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: eph1v3t8-antu5112@mailblocks.com
[mailto:eph1v3t8-antu5112@mailblocks.com] 
Sent: Friday, July 22, 2005 11:25 AM
To: user@ant.apache.org
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: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org




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


Mime
View raw message