Eclipse 补丁文件不适用于具有不同名称的同一项目
我通过单击 Team > 创建了一个 Eclipse 补丁文件。创建补丁文件,然后尝试将补丁文件应用到完全相同的项目(这意味着它是同一项目的签出),并且 Eclipse 似乎将项目识别为不同的,因为它的项目名称不一样?我虽然 Eclipse 会使用 svn 属性,但看起来补丁选项可能不会这样做?有办法解决吗?
I created an Eclipse patch file by clicking on Team > Create Patch file, and then tried to apply the patch file to the exact same project (meaning it was a checkout of the same project) and Eclipse seemed to recognize the Project as different because it's Project name wasn't the same? I though Eclipse would have used the svn properties, but it looks like maybe the patch option doesn't do this? Is there a way around?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,Eclipse 的创建补丁向导将为工作区创建补丁(包括项目名称)。这对于跨越多个项目的补丁很有用,但对于您的用例来说不太有用。如果您在创建补丁向导上单击“下一步”,您将看到为每个项目创建补丁的选项(参见屏幕截图)。
Eclipse's create patch wizard by default will create a patch for the workspace (including the project's name). This is useful for patches that span multiple projects but not so useful for your use case. If you click next on the create patch wizard you will see the option to create the patch per project (see screenshot).