将包添加到 eclipse 中的 svnignore

发布于 2024-12-20 04:55:58 字数 283 浏览 7 评论 0原文

我在 eclipse 中使用 subversive 来处理 svn repo。 我想知道如何将包添加到 svn 忽略? 这是因为我已经使用了一个 webservices 包(尚未添加到 SVN)并且我想将其排除在提交到 svn 之外。

我尝试右键单击>团队>添加到 svnignore,但该选项被禁用。

更新:我想忽略的包名称是remote.webservice,它是一个名为remote的目录,其中有一个名为webservice的目录。

I am using subversive in eclipse to work with svn repo.
I was wondering how it's possible to add a package to svn ignore?
This is because I have consumed a webservices package (not yet added to SVN) and I want to exclude it from being committed to svn.

I tried right click > Team > Add to svn ignore, but the option was disabled.

UPDATE: the package name i want to ignore is remote.webservice which is a directory called remote and inside it a directory called webservice.

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

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

发布评论

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

评论(2

请持续率性 2024-12-27 04:55:58

作为解决方法,您可以通过使用上一级包上的“设置属性”功能来忽略文件夹。

添加以下属性:

  • 属性:svn:ignore
  • 值:要忽略的包的最后一个元素

As a workaround you can ignore a folder by using the "Set property" function on the package one level higher.

Add the following property:

  • Property: svn:ignore
  • Value: last element of the package to be ignored
遇到 2024-12-27 04:55:58

尝试Windows->首选项->团队->忽略的资源

Try Windows->Preferences->Team->Ignored resources

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