In order to calculate KLOC for java based project, cloc-1.64.exe could not detect *.properties files.
In order to add new type of file search first of all the following command has to be run,
>>cloc-1.65.exe --write-lang-def=my_definitions.txt
This will create a my_definitions.txt file in the same directory. After that open that file and delete all the lines. Then add,
Properties filter remove_matches # extension properties 3rd_gen_scale 1.36
This will consider all the properties files by segregating them by tag 'Properties' and remove all the comments starting with # tag.
Then in order to use this definition the following commands should be run,
>>cloc-1.64.exe --read-lang-def=my_definitions.txt dir1 ...
For further information check http://cloc.sourceforge.net/#custom_lang
You seem to have CSS turned off. Please don't fill out this field.
Anonymous
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
In order to add new type of file search first of all the following command has to be run,
>>cloc-1.65.exe --write-lang-def=my_definitions.txtThis will create a my_definitions.txt file in the same directory.
After that open that file and delete all the lines. Then add,
This will consider all the properties files by segregating them by tag 'Properties' and remove all the comments starting with # tag.
Then in order to use this definition the following commands should be run,
>>cloc-1.64.exe --read-lang-def=my_definitions.txt dir1 ...For further information check http://cloc.sourceforge.net/#custom_lang