add build configs
fix ant script
fix checkstyle violation