You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Rob Mayhew <rm...@staffloungeonline.com> on 2005/10/02 18:43:46 UTC

Ant source code spell check task

Hello Everyone

I have created an ant task to spell check source/ASCII files.

You can use this task to check Java, HTML, XML, C#, Ruby or just about 
any source file you can think of.

The task interprets non letter characters and case changes as word 
breaks. Each word is then compared to an internal dictionary, and 
project dictionary. If the word is not found then it is written to a 
file listing the file, line and column of the word.

Because many words used in source code are not in dictionaries (javax 
for example) I have implemented a dictionary building option. This 
option checks to see if a word is used more then X times. If so it is 
then added to the project dictionary.

Once you have created a project dictionary, spelling mistakes are easy 
to find.

More info and download at:

http://robmayhew.com/antspell/antspelltask.html 

Enjoy 

Rob Mayhew


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