The time it takes to find all the java files by using the examples can't be that long. We have something like 2800 files that get compiled and it takes < 1 minute (we have nice hardware here). If a second "compile" is run and nothing needed it takes < 4 seconds.
Could you paste in your target and a maybe an explanation as to why a "include name=" won't work? -----Original Message----- From: Tim Gordon [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 12:51 PM To: Ant Users List Subject: Passing a file list to ANT javac task Hi Is there a way to pass a list of files to ANT's 'javac' task? I'm after something that's functionally similar to the command line "javac @filelist". The 'includesfile' attribute of the 'javac' task is not what I'm after. I'm intending to pass in a LOT of files, and my investigations using the 'includesfile' attribute indicates that the FileSet that's used by 'javac' will work it's way through every file path under it's root directory and try to match it against any of the files in the 'includesfile' attribute. If the number of files specified in 'includesfile' is large and the number of files under the root is large then this takes a long time. Obviously, I'm doing something wrong. Is there a way to pass a specific set of files the the 'javac' task without copying them all to a new interim source root first? Thanks Tim Gordon Allustra Limited 1 Royal Exchange Avenue London EC3V 3LT Tel 020 7464 4190 Tel 020 7464 4194 http://www.allustra.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]