ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendall Collett" <px3e8f...@sneakemail.com>
Subject Re: linecount
Date Mon, 26 Apr 2004 19:43:54 GMT
There is also the LOCC tool (see
http://csdl.ics.hawaii.edu/Tools/LOCC/LOCC.html).

There is an associated custom Ant task, but I couldn't find any "official"
documentation for that task; the closest thing I could find was the Javadoc
for the task itself (LOCCTaskDef; see
http://csdl.ics.hawaii.edu/Tools/LOCC/dist/build/java2html/csdl/locc/tools/ant/LOCCTaskdef.java.html).

Kendall

----- Original Message ----- 
From: "Ronald Trask rtrask-at-echo-inc.com |Ant 20031020|"
<z8zvhwn80x0t@sneakemail.com>
To: <XXXXXXXXXXXXXXXX>
Sent: Friday, April 23, 2004 16:36
Subject: RE: linecount


> There are a number of utilities that you can use that do a better job of
> calculating the number of lines of code that are free if that is what
> you are looking for. Check out http://www.dwheeler.com/sloccount/ for
> one of the best.
>
> -----Original Message-----
> From: EJ Ciramella [mailto:eciramella@upromise.com]
> Sent: Friday, April 23, 2004 3:23 PM
> To: Ant Users List
> Subject: RE: linecount
>
> thanks a million!
>
> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Friday, April 23, 2004 5:23 PM
> To: 'Ant Users List'
> Subject: RE: linecount
>
>
> > From: EJ Ciramella [mailto:eciramella@upromise.com]
> >
> > What is the easiest way to count all the lines in all the files of a
> > project?  I don't care about coding style/standards, just line count?
>
> cd project-top-level
> find . -name \*.java -print | wc -l
>
> or
>
> find . \( -name \*.java -o -name \*.cpp \) -print | wc -l
>
> If you have Java and C++ sources for example.
>
> --DD



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


Mime
View raw message