Fix build.xml and add ignore file