|
|
Re: Cant launch imported RCP project, "not in registry" error [message #453125 is a reply to message #453114] |
Sat, 22 July 2006 13:37 |
Bill Blalock Messages: 119 Registered: July 2009 Location: Alabama |
Senior Member |
|
|
Wayne Beaton wrote:
> Bill Blalock wrote:
>> This is Eclipse 3.2
>>
>> I am having a problem importing RCP projects into the workspace. I
>> followed these instructions:
>>
>> -Unzip formsArticle.zip into your workspace location in the file system.
>> -Import the extracted project (org.eclipse.ui.forms.article) into your
>> -workspace using 'File>Import>Existing Project into Workspace' -When
>> ready, launch another Eclipse using 'Run>Run As>Eclipse Application'
>> (source: http://www.eclipse.org/articles/Article-Forms/article.html)
>>
>> When I try to launch the project I get this error
>>
>> java.lang.RuntimeException: Application "WhatWasimported" could not be
>> found in the registry. The applications available are:
>> my_other_applications_which_show_up_in_Run>EclipseApplication.
>>
>> This is the second time this has happened. The first time I figured it
>> was me. I tracked the problem down to an XML file in
>> .metadata/.plugins/org.eclipse.pde.code
>>
>> Apparently 'File>Import>Existing Project into Workspace" is not updating
>> everything.
>>
>> What am I doing wrong? Has anyone else run into this problem?
>>
>> Thanks
>> Bill Blalock
>>
>> PS. This is the log if that helps
>> !SESSION 2006-07-21 13:17:59.061
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.4.2_08
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>> Framework arguments: -application org.eclipse.ui.ide.workbench
>> Command-line arguments: -application org.eclipse.ui.ide.workbench -data
>> C:eclipse_32_JVM4_workspace/../runtime-EclipseApplication(1) -dev
>>
file:C:/eclipse_32_JVM4_workspace/.metadata/.plugins/org.ecl ipse.pde.core/Eclipse
>> Application (1)/dev.properties -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.osgi 4 0 2006-07-21 13:18:00.543
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench"
>> could not be found in the registry. The applications available are:
>> Interstice_Preferences_Experiments.application,
>> com.cprs.vuckdb_preferences.application, org.cprs.rcphello.application.
>> at
>>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:68)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>
>>
> It sounds to me like you have the wrong application selected in your
> launch configuration. Go to the first page in the launch configuration
> and make sure that your application is selected in the "Program to Run"
> section.
> Alternatively, you may not have the full set of required plug-in
> selected. Click the "validate plug-in set" button on the "Plug-ins
> page"; it'll tell you if anything is missing.
> Wayne
Thanks Wayne but the application does not appear in the "Program to Run"
section. When launched from PDE, PDE forces the program into this field
and the lauch fails with the message above.
When trying to manually launch from Run and editing or building a new
launch profile the program does not appear in the list of programs to run.
The list only contains the programs listed in the full log message in my
original e-mail. That is:
- Interstice_Preferences_Experiments.application,
- com.cprs.vuckdb_preferences.application,
- org.cprs.rcphello.application.
The log message indicates that there is a registry of valid programs
someone where. A PlugIn or RCP is not being added to that list when it is
created by File > Import > Existing Project Into Workspace (per the
instructions of the RCP forms example).
|
|
|
Re: Cant launch imported RCP project, "not in registry" error [message #453127 is a reply to message #453125] |
Sat, 22 July 2006 16:12 |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Bill Blalock wrote:
> Wayne Beaton wrote:
>> Bill Blalock wrote:
>>> This is Eclipse 3.2
>>>
>>> I am having a problem importing RCP projects into the workspace. I
>>> followed these instructions:
>>>
>>> -Unzip formsArticle.zip into your workspace location in the file system.
>>> -Import the extracted project (org.eclipse.ui.forms.article) into your
>>> -workspace using 'File>Import>Existing Project into Workspace' -When
>>> ready, launch another Eclipse using 'Run>Run As>Eclipse Application'
>>> (source: http://www.eclipse.org/articles/Article-Forms/article.html)
>>>
>>> When I try to launch the project I get this error
>>>
>>> java.lang.RuntimeException: Application "WhatWasimported" could not be
>>> found in the registry. The applications available are:
>>> my_other_applications_which_show_up_in_Run>EclipseApplication.
>>>
>>> This is the second time this has happened. The first time I figured it
>>> was me. I tracked the problem down to an XML file in
>>> .metadata/.plugins/org.eclipse.pde.code
>>>
>>> Apparently 'File>Import>Existing Project into Workspace" is not updating
>>> everything.
>>>
>>> What am I doing wrong? Has anyone else run into this problem?
>>>
>>> Thanks
>>> Bill Blalock
>>>
...snip
>> It sounds to me like you have the wrong application selected in your
>> launch configuration. Go to the first page in the launch configuration
>> and make sure that your application is selected in the "Program to Run"
>> section.
>> Alternatively, you may not have the full set of required plug-in
>> selected. Click the "validate plug-in set" button on the "Plug-ins
>> page"; it'll tell you if anything is missing.
>> Wayne
> Thanks Wayne but the application does not appear in the "Program to Run"
> section. When launched from PDE, PDE forces the program into this field
> and the lauch fails with the message above.
> When trying to manually launch from Run and editing or building a new
> launch profile the program does not appear in the list of programs to run.
> The list only contains the programs listed in the full log message in my
> original e-mail. That is:
> - Interstice_Preferences_Experiments.application,
> - com.cprs.vuckdb_preferences.application,
> - org.cprs.rcphello.application.
> The log message indicates that there is a registry of valid programs
> someone where. A PlugIn or RCP is not being added to that list when it is
> created by File > Import > Existing Project Into Workspace (per the
> instructions of the RCP forms example).
What is the target platform for your Workspace? The Forms example article
is a plugin not an application. You need an Eclipse runtime as the target
plarform in order to run the examples.
|
|
|
Re: Cant launch imported RCP project, "not in registry" error [message #453128 is a reply to message #453127] |
Sat, 22 July 2006 17:38 |
Bill Blalock Messages: 119 Registered: July 2009 Location: Alabama |
Senior Member |
|
|
Dave Wegener wrote:
> Bill Blalock wrote:
>> Wayne Beaton wrote:
>>> Bill Blalock wrote:
>>>> This is Eclipse 3.2
>>>>
>>>> I am having a problem importing RCP projects into the workspace. I
>>>> followed these instructions:
>>>>
>>>> -Unzip formsArticle.zip into your workspace location in the file system.
>>>> -Import the extracted project (org.eclipse.ui.forms.article) into your
>>>> -workspace using 'File>Import>Existing Project into Workspace' -When
>>>> ready, launch another Eclipse using 'Run>Run As>Eclipse Application'
>>>> (source: http://www.eclipse.org/articles/Article-Forms/article.html)
>>>>
>>>> When I try to launch the project I get this error
>>>>
>>>> java.lang.RuntimeException: Application "WhatWasimported" could not be
>>>> found in the registry. The applications available are:
>>>> my_other_applications_which_show_up_in_Run>EclipseApplication.
>>>>
>>>> This is the second time this has happened. The first time I figured it
>>>> was me. I tracked the problem down to an XML file in
>>>> .metadata/.plugins/org.eclipse.pde.code
>>>>
>>>> Apparently 'File>Import>Existing Project into Workspace" is not updating
>>>> everything.
>>>>
>>>> What am I doing wrong? Has anyone else run into this problem?
>>>>
>>>> Thanks
>>>> Bill Blalock
>>>>
> ...snip
>>> It sounds to me like you have the wrong application selected in your
>>> launch configuration. Go to the first page in the launch configuration
>>> and make sure that your application is selected in the "Program to Run"
>>> section.
>>> Alternatively, you may not have the full set of required plug-in
>>> selected. Click the "validate plug-in set" button on the "Plug-ins
>>> page"; it'll tell you if anything is missing.
>>> Wayne
>> Thanks Wayne but the application does not appear in the "Program to Run"
>> section. When launched from PDE, PDE forces the program into this field
>> and the lauch fails with the message above.
>> When trying to manually launch from Run and editing or building a new
>> launch profile the program does not appear in the list of programs to run.
>> The list only contains the programs listed in the full log message in my
>> original e-mail. That is:
>> - Interstice_Preferences_Experiments.application,
>> - com.cprs.vuckdb_preferences.application,
>> - org.cprs.rcphello.application.
>> The log message indicates that there is a registry of valid programs
>> someone where. A PlugIn or RCP is not being added to that list when it is
>> created by File > Import > Existing Project Into Workspace (per the
>> instructions of the RCP forms example).
> What is the target platform for your Workspace? The Forms example article
> is a plugin not an application. You need an Eclipse runtime as the target
> plarform in order to run the examples.
I see and that makes sense. A lot to learn here. These are the
instructions given in the Forms example article.
>>>> -Unzip formsArticle.zip into your workspace location in the file system.
>>>> -Import the extracted project (org.eclipse.ui.forms.article) into your
>>>> -workspace using 'File>Import>Existing Project into Workspace'
>>>> -When ready, launch another Eclipse using 'Run>Run As>Eclipse
Application'
>>>> (source: http://www.eclipse.org/articles/Article-Forms/article.html)
You asked:
> What is the target platform for your Workspace?
The target platform is the RCP Eclipse 3.2 download from eclipse.org. I
added the plugins which the Forms article sample code required in order to
compile. I have been using this to work through "eclipse Rich Client
Platform" book and my RCP experiments.
What do I need to change? What do I do to get ".. an Eclipse runtime as
the target plarform ..."
Sorry, these are newbe questions. A lot to unlearn, relearn and learn
here. I appreciate the help.
|
|
|
Re: Cant launch imported RCP project, "not in registry" error [message #453130 is a reply to message #453128] |
Sat, 22 July 2006 19:20 |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Bill Blalock wrote:
> Dave Wegener wrote:
>
>> Bill Blalock wrote:
>
>>> Wayne Beaton wrote:
>
>>>> Bill Blalock wrote:
>>>>> This is Eclipse 3.2
>>>>>
>>>>> I am having a problem importing RCP projects into the workspace. I
>>>>> followed these instructions:
>>>>>
>>>>> -Unzip formsArticle.zip into your workspace location in the file
>>>>> system. -Import the extracted project
>>>>> (org.eclipse.ui.forms.article) into your -workspace using
>>>>> 'File>Import>Existing Project into Workspace' -When ready, launch
>>>>> another Eclipse using 'Run>Run As>Eclipse Application' (source:
>>>>> http://www.eclipse.org/articles/Article-Forms/article.html)
>>>>>
>>>>> When I try to launch the project I get this error
>>>>>
>>>>> java.lang.RuntimeException: Application "WhatWasimported" could not
>>>>> be found in the registry. The applications available are:
>>>>> my_other_applications_which_show_up_in_Run>EclipseApplication.
>>>>>
>>>>> This is the second time this has happened. The first time I
>>>>> figured it was me. I tracked the problem down to an XML file in
>>>>> .metadata/.plugins/org.eclipse.pde.code
>>>>>
>>>>> Apparently 'File>Import>Existing Project into Workspace" is not
>>>>> updating everything.
>>>>>
>>>>> What am I doing wrong? Has anyone else run into this problem?
>>>>>
>>>>> Thanks
>>>>> Bill Blalock
>>>>>
>> ...snip
>
>>>> It sounds to me like you have the wrong application selected in your
>>>> launch configuration. Go to the first page in the launch
>>>> configuration and make sure that your application is selected in the
>>>> "Program to Run" section.
>
>>>> Alternatively, you may not have the full set of required plug-in
>>>> selected. Click the "validate plug-in set" button on the "Plug-ins
>>>> page"; it'll tell you if anything is missing.
>
>>>> Wayne
>
>>> Thanks Wayne but the application does not appear in the "Program to
>>> Run" section. When launched from PDE, PDE forces the program into
>>> this field and the lauch fails with the message above.
>
>>> When trying to manually launch from Run and editing or building a new
>>> launch profile the program does not appear in the list of programs to
>>> run. The list only contains the programs listed in the full log
>>> message in my original e-mail. That is:
>
>>> - Interstice_Preferences_Experiments.application, -
>>> com.cprs.vuckdb_preferences.application, -
>>> org.cprs.rcphello.application.
>
>>> The log message indicates that there is a registry of valid programs
>>> someone where. A PlugIn or RCP is not being added to that list when
>>> it is created by File > Import > Existing Project Into Workspace (per
>>> the instructions of the RCP forms example).
>
>> What is the target platform for your Workspace? The Forms example
>> article is a plugin not an application. You need an Eclipse runtime
>> as the target plarform in order to run the examples.
>
> I see and that makes sense. A lot to learn here. These are the
> instructions given in the Forms example article.
>
>>>>> -Unzip formsArticle.zip into your workspace location in the file
>>>>> system. -Import the extracted project
>>>>> (org.eclipse.ui.forms.article) into your -workspace using
>>>>> 'File>Import>Existing Project into Workspace' -When ready, launch
>>>>> another Eclipse using 'Run>Run As>Eclipse
> Application'
>>>>> (source: http://www.eclipse.org/articles/Article-Forms/article.html)
>
> You asked:
>
>> What is the target platform for your Workspace?
>
> The target platform is the RCP Eclipse 3.2 download from eclipse.org. I
> added the plugins which the Forms article sample code required in order
> to compile. I have been using this to work through "eclipse Rich Client
> Platform" book and my RCP experiments.
>
> What do I need to change? What do I do to get ".. an Eclipse runtime as
> the target plarform ..."
>
> Sorry, these are newbe questions. A lot to unlearn, relearn and learn
> here. I appreciate the help.
>
>
The easiest way is to use the Reset button on the Plug-in
Development->Target Platform page. This will point the target platform
back at the Eclipse installation directory.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03940 seconds