項目開發中,開發人員經常用SVN來管理代碼,在和服務器同步時,每次都看到一堆.class,.log,target等文件,這樣很不舒服。
解決方法:
打開:window-->preferences-->team-->Ignored Resource-->Add Pattern(或者點擊window-->preferences-->然后直接搜索ign-->再點擊)
忽略文件夾:
如忽略target文件夾,就Add Pattern,填入*/target/*
忽略文件:
如忽略.class類型的,直接填入 .class
參考圖片:
實際中的一次配置: