本文介绍了从命令行还原到以前的配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行eclipse的问题。安装3个插件(从TeXlipse),
i有一个错误:

 !ENTRY org.eclipse.osgi 4 0 2012-01-21 13:57:28.430 
!MESSAGE应用程序错误
!STACK 1
java.lang.RuntimeException:应用程序org.eclipse.ui.ide.workbench不能在注册表中找到。

我试图运行它与 eclipse -clean 但是这并没有帮助。



有没有办法通过命令行还原到以前的配置?
我googled它,但只看到IDE中的GUI解决方案。我甚至不确定该功能是否可以默认使用,或者是额外的插件。



如果我要手动删除已安装的插件,是否足够删除eclipse / plugins中的适当的文件夹/文件?我看到两个新文件夹:

  net.sourceforge.texlipse_1.5.0 
de.vonloesch.pdf4eclipse.help_1.0.0 .20111116150

还有两个文件:

  de.vonloesch.pdf4Eclipse_1.0.1.201111161450.jar 
org.bibsonomy.texlipseextension_0.1.0.jar

提前感谢您的帮助



p / s /我运行 Eclipse IDE for并行应用程序开发人员(包括孵化组件) Ubuntu 11.10 SVN / EGit 插件在顶部。而现在 TeXlipse



更新1:



我试图运行这样的东西:
./ eclipse -application org.eclipse.equinox.p2.director -uninstallIU de.vonloesch.pdf4eclipse.help_1.0.0.201111161450 -profile epp.package.parallel





./ eclipse -application org.eclipse.equinox.p2.director -revert 1327068337804 -profile epp.package.parallel



但它只是运行应用程序,不要听命令行参数...



更新2:



这是我尝试从OSGi控制台启动p2(可以通过 ./ eclipse -console -noexit 启动):

 的OSGi> start 166 
org.osgi.framework.BundleException:无法解析捆绑包org.eclipse.equinox.p2.console_1.0.300.v20110502-1955 [166]。原因:缺少约束:导入包:org.eclipse.equinox.internal.provisional.p2.director; version =0.0.0


解决方案

这是调用p2 。查看链接中的说明,您将看到恢复Eclipse的命令。



如果不起作用(也就是说,你不能让Eclipse开始使用控制台),那么您可以使用并指定-revert。


I have a problem running eclipse. After installing 3 plugins (from TeXlipse),i have an error:

!ENTRY org.eclipse.osgi 4 0 2012-01-21 13:57:28.430
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry.

I tried to run it with eclipse -clean but this does not help.

Is there a way to revert to previous configuration from the command line?I googled it, but see only GUI solutions from within the IDE. I'm not even sure if that feature is available by default, or it's an additional plugin.

If i'm to remove installed plugins manually, is it enough just to delete appropriate folders/files in eclipse/plugins? I see two folders new:

net.sourceforge.texlipse_1.5.0
de.vonloesch.pdf4eclipse.help_1.0.0.20111116150

and also two files:

de.vonloesch.pdf4Eclipse_1.0.1.201111161450.jar
org.bibsonomy.texlipseextension_0.1.0.jar

Thank you in advance for your help

p/s/ I run Eclipse IDE for Parallel Application Developers (includes Incubating components) in Ubuntu 11.10 with SVN/EGit plugins on top. And now TeXlipse.

UPDATE1:

i was trying to run something like this:./eclipse -application org.eclipse.equinox.p2.director -uninstallIU de.vonloesch.pdf4eclipse.help_1.0.0.201111161450 -profile epp.package.parallel

or

./eclipse -application org.eclipse.equinox.p2.director -revert 1327068337804 -profile epp.package.parallel

but it just runs the app and don't "listen" to command-line arguments...

UPDATE2:

that's what I have when I try to start p2 from OSGi console (which can be started via ./eclipse -console -noexit):

osgi> start 166
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.p2.console_1.0.300.v20110502-1955 [166]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.provisional.p2.director; version="0.0.0"
解决方案

One way to do this is to invoke p2 using the OSGi console. Look through the instructions on the link, you will see the command to revert your Eclipse.

If that does not work (that is, you cannot get Eclipse started to use the console), then you can use the p2 director application and specify -revert.

这篇关于从命令行还原到以前的配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:45