1. 程式人生 > 實用技巧 >Eclipse MyEclipse 程式碼提交時,讓svn忽略classpath、target、.project

Eclipse MyEclipse 程式碼提交時,讓svn忽略classpath、target、.project

myeclipse>Preference>Team>Ignored Resource>Add Pattern

新增 .settings .classpath .project */target/* .class

忽略資料夾:

如忽略target資料夾,就Add Pattern,填入*/target/*

忽略檔案:

如忽略.class型別的,直接填入 .class
在這裡插入圖片描述
點選Apply – > OK,然後我們在提交SVN的時候就看不到target相關檔案了。

需要重啟myeclipse後生效。