Fixed ignore and preferences to Java 1.7
Removed target directory