update gitignore files, exclude classpath and metadata