templates: reorder the clean targets

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
templates: and/use ant {srcjavafiles,testjavafiles}.present properties

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
templates: also echo build and releaserepo properties

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Fix #789: templates: add javadoc target to ant build files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
build: update ant build files to latest status

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
fix javadoc warnings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>