code maintenance

Format build.xml with 2 space indentation.
Add generated files to .gitignore.
Add eclipse project setting.