Hi everybody, I'm new to the ant community so I'll keep this short.
I've developed a new task called "count" which summarizes the line counts of a project. Currently the following file types are implemented: *.java,*.xml,*.html,*.js,*.properties,*.c,*.h,*.cpp,*.hpp,*.c++,*.h++,*.cxx,*.hxx *.jsp,*.php The syntax of the task is for instance: <count dir="." recursive="true" filter="java,xml,html"/> This recursively counts the source code lines of Java, XML and HTML files (filter="java,xml,html") beginning in the current directory (dir=".") and iterating in all nested directories (recursive="true") the output is something like this: [count] XML files in /homes/valentin/testing/ant: [count] 8 program lines [count] 3 comment lines [count] 2 blank lines [count] 13 lines in total [count] [count] Java files in /homes/valentin/testing/ant: [count] 12 program lines [count] 13 comment lines [count] 4 blank lines [count] 29 lines in total [count] [count] HTML files in /homes/valentin/testing/ant: [count] 6 program lines [count] 3 comment lines [count] 2 blank lines [count] 11 lines in total [count] [count] --------------------------------------------- [count] All files in /homes/valentin/testing/ant: [count] 26 program lines [count] 19 comment lines [count] 8 blank lines [count] 53 lines in total So I just wanted to know if the Ant community would be interested in this task or if another existing task already performs this. Thank you Val -- Sun Certified Programmer for the Java 2 Platform Valentin Crettaz Office: EK 247 SRI International Internet: [EMAIL PROTECTED] 333 Ravenswood Ave. Phone: +1 (650) 859 39 04 Menlo Park, CA 94025 WWW: http://www.sdl.sri.com/people/valentin/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
