java - How to list TODO: in Ant build output -


related: how use ant check tags (todo: etc) in java source


how can ant list todo: tags found in code in build output when run it. build failure optional (ie: setting) if found.


i've tried checkstyle suggested in related post, doesn't display text of todo:.

ie:

 [checkstyle] .../src/game.java:36: warning: comment matches to-do format 'todo:'. [checkstyle] .../src/game.java:41: warning: comment matches to-do format 'todo:'. [checkstyle] .../src/gamethread.java:25: warning: comment matches to-do format 'todo:'. [checkstyle] .../src/gamethread.java:30: warning: comment matches to-do format 'todo:'. [checkstyle] .../src/gamethread.java:44: warning: comment matches to-do format 'todo:'. 

i not sure if provides ability fail build if todo found may usefull http://code.google.com/p/ant-todo/


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -