开发者

eclipse+bzr (Or: DVCS + IDE)

开发者 https://www.devze.com 2022-12-25 03:28 出处:网络
I have some projects on bzr code repositories shared with colleagues. Problem is, I really want to switch to eclipse in som开发者_如何学运维e projects, but I don\'t want to pollute the repository wit

I have some projects on bzr code repositories shared with colleagues.

Problem is, I really want to switch to eclipse in som开发者_如何学运维e projects, but I don't want to pollute the repository with the unnecessary metadata eclipse creates in its Workspaces.

Any idea how to keep Eclipse's metadata outside my bzr repo?

Adam


If you know the names of the meta files created, you could put them into your .bzrignore file in your repository's directory.

See this part of the bzr docs


All the main metadata in eclipse are in the workspace.

You project, meaning:

  • your .project file
  • your .classpath file
  • your .settings directory
  • your source files

should all be located elsewhere, within your main project directory.

All those files (except the .class files generated by the compilation) should be versioned.

See "Do you keep your project files under version control?" for more, but also:

  • What to put under version control?
  • When working with Eclipse, should I add the workspace to the source control?
0

精彩评论

暂无评论...
验证码 换一张
取 消