English 中文(简体)
利用病毒中的单环延伸点
原标题:using the eclipse extension points in virgo

我在此遇到一个问题。 团队试图将一个剪切的Eclipse RCP项目带入网络,因此第一步是试图利用Virgo来利用假肢。 我制造了所有正确的东西,但当我试图利用一个延伸点(一个Eclipse概念)时,我就这一呼吁提出了一个完全的例外:

org.eclipse.core.runtime.Platform.getextensionregistry();/ 此处无效

Does anyone have any experience when it comes to solving this problem?

感谢

纽约总部

www.un.org/Depts/DGACM/index_spanish.htm

因此,我对此稍加了解。 我在座机上添加了“org.eclipse...registry bundle”及其与存放处/用户夹有关的捆包,并且必须在我开始上台之后,用人工记录到圣殿。 然而,这仍是一个问题,因为现在我的估计似乎没有任何延长点。 这是否是开始评估的顺序? (例如,我必须首先开始登记工作)?

问题回答

第一步是,在用户区域初始工艺品中增加单壳登记系统;在org.eclipse.virgo.kernel.userregion.properties,将最初的著作改为:

initialArtifacts=repository:plan/org.eclipse.virgo.kernel.userregion.blueprint,repository:plan
/org.eclipse.virgo.web.tomcat,repository:configuration/org.eclipse.virgo.apps.repository,repository:plan/org.eclipse.virgo.management,repository:bundle/org.eclipse.equinox.registry

This will at least ensure that the registry plugin is available while your eclipse plug-ins are being loaded. What I am still struggling with is figuring out how to control which plugin.xml are loaded by the registry and what triggers that. Somehow some eclipse runtime will scan some plugins directory, but how to set that up while in Virgo is still unclear to me.





相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.

热门标签