scott comer wrote: > Robert Burrell Donkin wrote: >> scott comer wrote: >> >>> so, i finally figured out that i had usable artifacts for running rat by >>> using "mvn install package" which >>> i got from your website build, which doesn't agree with BUILD.txt in the >>> source tree. >>> >> >> i think those lines in BUILD.txt is wrong (so i've deleted them) >> >> >>> my quest? >>> >>> look into solutions related to: >>> >>> https://issues.apache.org/jira/browse/RAT-2 >>> >>> ant and maven include(!) an exclusion ability, but the command line tool >>> does not. >>> >> >> any ideas how you're going to go about it? >> >> BTW trunk has been extensively refactored and should be a lot easier to >> understand than 0.6. >> >> - robert >> >> > refactoring: ok, i'll take a lookie at trunk. > > approach: i was hoping for suggestions. i'm guessing that the ant plugin > might give guidance on how the file selection can be factored, and then > the idea would be to have a similar file selection process for the > command line, perhaps seeded with an exclusion list (from a file, > specified on the command line).
the ant plugin uses the ant specific resources mechanism the command line is driven from a directory walk. IIRC this already includes default ignores so should be reasonably easy just to inject more. - robert
