eclipse+bzr(或:DVCS+IDE)

发布于 2024-08-27 18:39:50 字数 158 浏览 3 评论 0原文

我在 bzr 代码存储库上有一些项目与同事共享。

问题是,我确实想在某些项目中切换到 Eclipse,但我不想用 Eclipse 在其工作区中创建的不必要的元数据来污染存储库。

知道如何将 Eclipse 的元数据保留在我的 bzr 存储库之外吗?

亚当

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

Problem is, I really want to switch to eclipse in some 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尘曦 2024-09-03 18:39:50

如果您知道创建的元文件的名称,则可以将它们放入存储库目录中的 .bzrignore 文件中。

请参阅 bzr 的这一部分文档

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

我也只是我 2024-09-03 18:39:50

eclipse中所有的主要元数据都在工作区中。

你的项目,意味着:

  • 你的.project文件
  • 你的.classpath文件
  • 你的.settings目录
  • 你的源文件

应该全部位于你的main中的其他地方项目目录。

所有这些文件(编译生成的 .class 文件除外)都应该进行版本控制。

请参阅“您是否将项目文件保留在版本下控制?”了解更多信息,还可以:

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:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文