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?

Cheers,
Antonio

Reply via email to