如何在没有互联网连接的情况下安装 SVN 连接器并使用 Subversive Eclipse 插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4272415/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:23:41  来源:igfitidea点击:

How can I get an SVN Connector installed and working with the Subversive Eclipse plugin without an internet connection?

eclipsesvnsubversive

提问by Patrick Stover

My workplace uses a closed network, so all software tools have to be manually transferred. I've installed Subversive (version 0.7.9) successfully, and brought in the latest archive for the connectors from here: Polarion SVN Connector download site. I was able to install the connectors in Helios Eclipse by going to Help | Install New Software... | Add... | Archive..., and choosing the connectors zip file. The installation appeared to complete successfully, then it asked me to restart Eclipse. Now, when Eclipse starts up, it pops up the discovery dialog, but then pops up an error dialog with 'Unexpected exception'. When I close that, it pops up another dialog that says something like 'Could not find any connectors. Check your internet connection and try again.'. When I look at the error in the error log, the stack trace starts out like this:

我的工作场所使用封闭网络,因此所有软件工具都必须手动传输。我已经成功安装了 Subversive(版本 0.7.9),并从这里引入了连接器的最新存档:Polarion SVN 连接器下载站点. 我可以通过转到 Help | 在 Helios Eclipse 中安装连接器。安装新软件... | 添加... | 存档...,然后选择连接器 zip 文件。安装似乎成功完成,然后它要求我重新启动 Eclipse。现在,当 Eclipse 启动时,它会弹出发现对话框,但随后会弹出一个带有“意外异常”的错误对话框。当我关闭它时,它会弹出另一个对话框,上面写着“找不到任何连接器”之类的内容。请检查您的互联网连接,然后重试。”。当我查看错误日志中的错误时,堆栈跟踪开始是这样的:

java.lang.IllegalStateException at org.eclipse.team.svn.core.discovery.model.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:89)...

java.lang.IllegalStateException 在 org.eclipse.team.svn.core.discovery.model.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:89)...

After I close the dialog, Subversive acts as though I have no connectors installed (the connector drop-down is blank in the SVN preferences), even though by inspecting the installed software list and plugins directory, it looks like they're all present. It seems as though the discovery module insists upon trying to find the connectors on the internet, and won't recognize local update sites.

关闭对话框后,Subversive 就好像我没有安装连接器一样(SVN 首选项中的连接器下拉列表是空白的),即使通过检查已安装的软件列表和插件目录,看起来它们都存在。似乎发现模块坚持尝试在 Internet 上查找连接器,并且无法识别本地更新站点。

Any help is very much appreciated!

很感谢任何形式的帮助!

Patrick

帕特里克

回答by Sajid

According to this(original german, translated), the Helios version is not compatible with the Polarion connectors you're using. Try using the ones from the updatesite. Watch out that your javaHL matches your JAVA/machine architecture (32/64 bit) if you use it, otherwise will cause serious issues.

根据(原德语,翻译),Helios 版本与您使用的 Polarion 连接器不兼容。尝试使用更新站点中的那些。如果您使用它,请注意您的 javaHL 与您的 JAVA/机器架构(32/64 位)匹配,否则会导致严重问题。