Eclipse Helios 无法加载玩具插件
我正在尝试安装一个我在 Fedora 12 下的 Eclipse Helios 20100617-1415 中编写的玩具插件。安装该插件的尝试全部失败。当作为 Eclipse 应用程序执行时,该插件实际上会运行(加载 Eclipse 的另一个副本,并且该插件出现在菜单上并执行其预期的操作)。我将插件的 jar 文件放在 /dropins/plugins 目录中,多次重新启动后 Eclipse 无法加载它,并且似乎也没有生成任何错误消息。我还尝试使用安装新软件 UI 直接加载它,但失败了(添加了玩具插件所在的目录,响应是:弹出一个对话框:在 DIR_NAME 找不到软件站点。是否要编辑位置同时,在弹出窗口后面的名称列表区域框中显示:找不到文件:DIR_NAME(目录有效并且 jar 文件在那里) - 其他尝试是直接选择存档而不是加载 jar 文件。添加存储库对话框中的本地- 这也失败了:首先,jar 名称在某种程度上被破坏为 jar:file:/DIR_NAME/TOY_NAME.jar!/ 然后,在尝试使用目录位置时会出现相同的错误消息。所以安装机制完全失败了,但是-我怎样才能让它工作呢? (是的,我可以从 Eclipse marketPlace 和其他存储库安装插件)。谢谢!
I am trying to install a toy plugin that I wrote in Eclipse Helios 20100617-1415 under Fedora 12. Attempts at installing the plugin have all failed. The plugin does actually run when executed as an Eclipse Application (another copy of Eclipse is loaded and the plugin appears on the menu and does what it's supposed to). I put the jar file for the plugin in the /dropins/plugins directory and after several reboots Eclipse fails to load it and seems to not generate any error messages either. I also tried to load it directly using the Install New Software UI and that failed (added a directory where the toy plugin is and the response is: a dialog box pops up: No software site found at DIR_NAME. Do you wish to edit the location? At the same time in the name list area box behind the popup it says: Could not find file:DIR_NAME (the directory is valid and the jar file is there) - the other attempts are to load the jar file directly selecting archive instead of local in the Add Repository dialog - that too fails: first the jar name is mangled somewhat to jar:file:/DIR_NAME/TOY_NAME.jar!/ and then the same error messages come up already mentioned for just trying to use the directory location). So the installation mechanism is a complete failure but - how can I get it working? (Yes I can install plugins from the Eclipse marketPlace and other repositories). Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有多种方法可以安装插件,
There are several ways to install your plug-in,