On Dec 1, 2005, at 11:08 AM, Bryan Pendleton wrote:
> If anyone knows a way to get Ant to generate a list of files
> (like the find command) that we could then filter, let me know.
I'm always up for puttering around with Ant scripts. Between
<fileset>, <patternset>, and <selector>, there's a lot of power
there. Maybe you could send me some more details about what you'd
exactly like Ant to be able to do, and I could fiddle with it for a
while?
Javadoc accepts an @{file} argument for a file which contains a list
of the files to be javadoc'd. Ant, unfortunately, doesn't include a
facility for generating such a list of files.
Good news, though. It appears that recent versions of Ant will now
generate the file list for you from <fileset> elements. It would be
interesting if you can get the "derbydocs" javadoc build going using
multiple nested filesets, excluding the classes listed in tools/
javadoc/derbydocs_excludes.ant, and avoid the need to copy the entire
source tree to a new directory before generating the javadoc. And if
you get that working, then it should be simple to get the
publishedapi target to work in a similar fashion.
Let me know if you're interested in working on that, otherwise I'll
take a look.
thanks,
andrew