ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendall Collett" <kcoll...@convio.com>
Subject Re: Line Counter Task
Date Tue, 03 Sep 2002 21:11:47 GMT
What advantages does your task have over that supplied with LOCC (see
<http://csdl.ics.hawaii.edu/Tools/LOCC/dist/api/csdl/locc/tools/ant/LOCCTask
def.html>)?  (LOCC is described at
<http://csdl.ics.hawaii.edu/Tools/LOCC/LOCC.html>.)

Kendall

----- Original Message -----
From: "Catalin Rotaru" <cata_r@zappmobile.ro>
To: <ant-user@jakarta.apache.org>
Sent: Monday, September 02, 2002 15:07
Subject: Line Counter Task


>     Hi,
>
>     I wrote a simple Ant task that generates statistics (number of files
and
> number of lines) on the source files of the project. If there's any
interest
> in this, I'd be happy to submit the code.
>
>     Best regards,
>     Cata
>
>     Sample output:
>
> [lc] Files of type "java": 2 => 338 lines.
> [lc] Files of type "properties": 1 => 10 lines.
> [lc] --------------------------------------------
> [lc] TOTAL files: 3 => 348 lines.
>
>     Sample usage:
>
> <!-- ==================== LC Target =========================== -->
>
>   <target name="lc" depends="declare"
>    description="Count the number of lines in the current project.">
>     <lc>
>       <fileset dir="src" excludes="**/.*.swp"/>
>       <fileset dir="../common/src" excludes="**/.*.swp"/>
>     </lc>
>   </target>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message