Indent and refactor
For #1808: add example WAR
Remove unneeded ant target