minify code, add new format for eclipse