Ross Gardler wrote:
> 2009/6/15 Gavin <[email protected]>:
>>
>>> -----Original Message-----
>>> From: [email protected] [mailto:[email protected]] On
>>> Behalf Of Ross Gardler
>>> Sent: Monday, 15 June 2009 10:09 AM
>>> To: [email protected]
>>> Subject: Re: RAT with BuildBot at Apache
>>>
>>> 2009/6/15 Gavin <[email protected]>:
>>>
>>>> Is that possible now, excluding sub-dirs ? If so how as I'd love to
>>>> implement it so we can have more accurate results to work from for
>>> refining.
>>>
>>> Here's an example from the Simal project (using Maven):
>>>
>>>       <plugin>
>>>         <groupId>org.codehaus.mojo</groupId>
>>>         <artifactId>rat-maven-plugin</artifactId>
>>>         <configuration>
>>>           <excludes>
>>>             <exclude>.pmd</exclude>
>>>             <exclude>derby.log</exclude>
>>>             <exclude>reports/**/*</exclude>
>>>             <exclude>simal/**/*</exclude>
>>>             <exclude>build/**/*</exclude>
>>>             <exclude>simalDOAPFilestore/**/*</exclude>
>>>             <exclude>simalRepository/**/*</exclude>
>>>             <exclude>local.simal.properties</exclude>
>>>             <exclude>local.simal.test.properties</exclude>
>>>           </excludes>
>>>         </configuration>
>>>         <executions>
>>>           <execution>
>>>             <phase>verify</phase>
>>>             <goals>
>>>               <goal>check</goal>
>>>             </goals>
>>>           </execution>
>>>         </executions>
>>>       </plugin>
>> Ah, ok great thanks. My implementations so far have just been command line
>> usage, so I'll have to move over to the Maven or Ant plugin ways then I
>> guess.
> 
> It must be in the code, is it not implemented in the CLI? Sounds like
> a feature if not.


there's quite a few features in the code that just need some CLI work to
support on the command line

would you want it to be something like comma separated list eg

%rat --excludes="target, build/**/*, *.svn"

- robert

Reply via email to