ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Mayhew <rmay...@staffloungeonline.com>
Subject Ant source code spell check task
Date Sun, 02 Oct 2005 16:43:46 GMT
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


Mime
View raw message