Changeset 9eb25f6 for build.xml


Ignore:
Timestamp:
Dec 20, 2012 7:16:39 AM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
406bcbe
Parents:
b7c10d2
Message:

add sloccount report target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rb7c10d2 r9eb25f6  
    13341334        <copy file="apps/BOB/dist/BOB-one.jar" todir="." />
    13351335    </target>
     1336
     1337    <target name="sloccount.report">
     1338        <echo message="Generating sloccount report" />
     1339        <exec executable="sloccount" failonerror="true">
     1340            <arg value="--details"/>
     1341            <arg value="--wide"/>
     1342        <arg value="${basedir}"/>
     1343            <redirector output="sloccount.sc">
     1344                <outputfilterchain>
     1345                    <linecontainsregexp negate="true">
     1346                        <regexp pattern="(_MTN|reports|pkg-temp|licenses|i2p\.fba|sloccount\.sc)" />
     1347                    </linecontainsregexp>
     1348                </outputfilterchain>
     1349            </redirector>
     1350        </exec>
     1351    </target>
     1352
    13361353    <target name="findbugs" depends="build2">
    13371354        <echo message="Starting findbugs, this will take a while..." />
Note: See TracChangeset for help on using the changeset viewer.