面向 JavaScript Web 开发人员的 Eclipse IDE子剪辑 + Mac OS X 10.6 上的 JavaHL
我想在 Snow Leopard 上使用 Eclipse 插件 Subclipse。 我安装了 Eclipse IDE for JavaScript Web Developers (Helios Service Release 1)。
我应该提到的是,Subversion 服务器受 SSL 保护,我必须使用个人证书(p12 文件)。
告诉系统在哪里可以找到证书文件
/Users/<USERNAME>/.subversion/servers
我用以下几行
[groups]
servername = 999.999.99.99
...
[servername]
ssl-client-cert-file = /Users/<USERNAME>/Desktop/<CERTIFICATE>
:在命令行中使用 SVN 这是有效的。
所以我的第一次尝试是在 Eclipse 的“安装新软件”对话框中使用 subclipse.tigris.org 提供的 Subclipse 插件。这为我提供了 Subclipse 1.0.0。 当尝试连接到 SVN 存储库时,Eclipse 的控制台视图中出现此错误:
svn: PROPFIND request failed on '/blahblahblahrepositorydirectory'
svn: Received fatal alert: handshake_failure
我认为使用较新的 SVN 版本 + JavaHL 可能是一个好主意(雪豹预装的 SVN 是 1.0),但根据 http://subclipse.tigris.org/wiki/JavaHL#head-5ccce53a67ca6c3965de863ae91e2642eab537de 至少需要一个SVN来自 openCollabNet 的 /JavaHL 版本 1.4.x。但 1.4.x 不适用于 Mac OS X 10.6。你在那里只能得到1.6。 所以我选择了 1.6,并期望 Ecipse 的“安装新软件”对话框为我提供更新版本的 Subclipse,但它仍然提供 1.0.0。实际上这个组合不起作用,在尝试连接 SVN 时仍然出现错误...
我现在该怎么办?
I want to use the Eclipse plugin Subclipse on Snow Leopard.
I installed Eclipse IDE for JavaScript Web Developers (Helios Service Release 1).
I should mention that the subversion server ist SSL protected, I have to use a personal certificate (p12 file).
I tell the system where to find the certificate file in
/Users/<USERNAME>/.subversion/servers
with this lines:
[groups]
servername = 999.999.99.99
...
[servername]
ssl-client-cert-file = /Users/<USERNAME>/Desktop/<CERTIFICATE>
Using SVN in the command line this works.
So my first try was to use the Subclipse plugin offered by subclipse.tigris.org within Eclipse's "Install new software" dialogue. This offers me the Subclipse 1.0.0.
It ended with this error in Eclipse's console view when trying to connect to the SVN repository:
svn: PROPFIND request failed on '/blahblahblahrepositorydirectory'
svn: Received fatal alert: handshake_failure
I thought it might be a good idea to use a newer SVN version + JavaHL (Snow Leopard's preinstalled SVN is 1.0) but according to http://subclipse.tigris.org/wiki/JavaHL#head-5ccce53a67ca6c3965de863ae91e2642eab537de one needs at least SVN/JavaHL Version 1.4.x from openCollabNet. But 1.4.x is not available there for Mac OS X 10.6. You get only 1.6 there.
So I took the 1.6 and expected Ecipse's "Install new software" dialogue to offer me a newer version of Subclipse but it still offers the 1.0.0. And actually this combination doesn't work, still getting errors when trying to connect with SVN...
What can I do now?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你们是如何开始使用 Subclipse 并拥有 1.0 版本的?当前的 Subclipse 是 1.6.x,已经发布近 2 年了。
只需指定 Subclipse 1.6.x 的更新站点 URL 并安装即可。或者使用 Eclipse Marketplace 客户端来执行此操作。
How did you get Subclipse to begin with that you would have the 1.0 version? Current Subclipse is 1.6.x and has been out for nearly 2 years.
Just specify the update site URL for Subclipse 1.6.x and install it. Or use the Eclipse Marketplace client to do so.