add gitignore, don't track jar, fix build warning