Hey,

Am Dienstag, den 03.10.2017, 13:34 +0200 schrieb Antonio:
> 
> On 03/10/17 12:59, Antonio wrote:
> > 
> > I'll investigate the grep operation on CDDL and will post here with
> > my 
> > findings.
> > 
> 
> It seems ant-rat is not able to do this.
> 
> Anyway one can quickly find CDDL files with
>       grep -R CDDL --exclude-dir build
> 
> Or adding
> 
>      <target name="grep-cddl" depends="bootstrap">
>          <exec osfamily="unix" executable="grep" failonerror="yes">
>              <arg line="-R CDDL --exclude-dir build" />
>          </exec>
>      </target>
> 
> to nbbuild/build.xml and then running ant grep-cddl
> 
> This is Linux specific (and should run in OS/X as well).
> 
> Want another PR with this?

I would not add greps for CDDL to the build scripts. Before adding the
excludes I suggest to cleanup the files that would be ignored and make
sure these are clean. Reintroductions via PRs need to be prevented by
the authors/committers.

Greetings

Matthias

Reply via email to