On 2010-08-11, Nicolas Lalevée wrote: > I would like to use RAT for IvyDE, Jan started to set it up [1]. Now > I would need to "tune" it. So I am looking for documentation, and I > just cannot find any. Is there some ? where ?
What Jochen said. I know you are using the Antlib so <http://svn.apache.org/repos/asf/incubator/rat/main/trunk/ant-task-examples.xml> may give you some ideas. > Does RAT is supposed to be run against a source tree or the packaged > artifacts ready to be deployed on apache dist ? You can do either. The Antlib supported running against archives all the time, RAT's core supports it with 0.7. It's your choice. > Could rat be integrated into a CI build Sure. Gavin has set up several buildbot builds for a couple of projects that do that (all of them using the Antlib). > so we can get notified if a commit break the Apache guidelines ? The Antlib only supports reporting while the Maven plugin can make a build fail if there are unapproved licenses. It simply never occured to me that you'd want your build to fail on unapproved licenses, that wouldn't be too difficult to add. If you want to stick with the Antlib you could try parsing the generated report and make the build fail if it doesn't contain a line "Unapproved Licenses: 0" or something like that. AntUnit's assertResourceDoesntContain could be an option. Stefan
