Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Feature-based Product - Launching Problem
Feature-based Product - Launching Problem [message #459127] Tue, 28 November 2006 08:33 Go to next message
Eclipse UserFriend
Hallo,

I tried to convert my plugin-configured product into a feature-based
product. The export works well, the launching from the Product Configuration
Editor also. My .product file also includes the org.eclipse.rcp feature.
However, after exporting, when trying to start the product, I get the
following RuntimeException:

!SESSION Tue Nov 28 14:22:40 CET
2006 ------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2006-11-28 14:22:40.282
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
at org.eclipse.core.launcher.Main.getBootPath(Main.java:649)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:987)
at org.eclipse.core.launcher.Main.main(Main.java:962)

My config.ini is the following:
osgi.splashPath = platform:/base/plugins/org.nyssen.viper_platform
osgi.bundles=org.eclipse.equinox.common@2:start,
org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
osgi.bundles.defaultStartLevel=4
eclipse.product=org.nyssen.viper_platform.ViPER
eof=eof

The configuration-directory of the product does only contain the config.ini
file (and of course the .log file containing the above error message), but
not the org.eclipse.core.runtime, org.eclipse.osgi and org.eclipse.update
folders like in case of a plugin-based export.

Any ideas?

Best Regards
Alexander Ny
Re: Feature-based Product - Launching Problem [message #459131 is a reply to message #459127] Tue, 28 November 2006 09:06 Go to previous messageGo to next message
Eclipse UserFriend
Make sure your features include all the plugins needed for them. Remember
that all your plugin dependencies that are satisfied either by your IDE
installation or your PDE target must be satisfied in the final exported
product, so all these plugins need to be in your features.


On 11/28/06 6:33 AM, in article ekhds7$8b8$1@utils.eclipse.org, "Alexander
Nyßen" <any@informatik.rwth-aachen.de> wrote:

> Hallo,
>
> I tried to convert my plugin-configured product into a feature-based
> product. The export works well, the launching from the Product Configuration
> Editor also. My .product file also includes the org.eclipse.rcp feature.
> However, after exporting, when trying to start the product, I get the
> following RuntimeException:
>
> !SESSION Tue Nov 28 14:22:40 CET
> 2006 ------------------------------------------
> !ENTRY org.eclipse.core.launcher 4 0 2006-11-28 14:22:40.282
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.RuntimeException: Could not find framework
> at org.eclipse.core.launcher.Main.getBootPath(Main.java:649)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
> at org.eclipse.core.launcher.Main.run(Main.java:987)
> at org.eclipse.core.launcher.Main.main(Main.java:962)
>
> My config.ini is the following:
> osgi.splashPath = platform:/base/plugins/org.nyssen.viper_platform
> osgi.bundles=org.eclipse.equinox.common@2:start,
> org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
> osgi.bundles.defaultStartLevel=4
> eclipse.product=org.nyssen.viper_platform.ViPER
> eof=eof
>
> The configuration-directory of the product does only contain the config.ini
> file (and of course the .log file containing the above error message), but
> not the org.eclipse.core.runtime, org.eclipse.osgi and org.eclipse.update
> folders like in case of a plugin-based export.
>
> Any ideas?
>
> Best Regards
> Alexander Nyßen
>
>
>
>
>
>
Re: Feature-based Product - Launching Problem [message #459133 is a reply to message #459131] Tue, 28 November 2006 10:04 Go to previous messageGo to next message
Eclipse UserFriend
I listed all of the platform features as features in my .product definition
(part of the product configuration). Listing the plugins contained by the
platform features under the dependencies list of one of my features does not
change anything, the error remains the same. Do I also have to add all the
platform plugins as included plugins to one of my features?

Regards
Alexander

"J Michael Dean" <mdean77@comcast.net> schrieb im Newsbeitrag
news:C191908E.195DF%mdean77@comcast.net...
>
> Make sure your features include all the plugins needed for them. Remember
> that all your plugin dependencies that are satisfied either by your IDE
> installation or your PDE target must be satisfied in the final exported
> product, so all these plugins need to be in your features.
>
>
> On 11/28/06 6:33 AM, in article ekhds7$8b8$1@utils.eclipse.org, "Alexander
> Ny
Re: Feature-based Product - Launching Problem [message #459182 is a reply to message #459133] Tue, 28 November 2006 12:31 Go to previous messageGo to next message
Eclipse UserFriend
Looking at the exported product showed that indeed -even if they are all
included in my .product configuration file, the PDE target features
(respectively their plugins) do not get exported. What to do?

Regards
Alexander


"Alexander Ny
Re: Feature-based Product - Launching Problem [message #459195 is a reply to message #459182] Tue, 28 November 2006 21:34 Go to previous messageGo to next message
Eclipse UserFriend
Add these plugins to your feature.


On 11/28/06 10:31 AM, in article ekhrpi$phi$1@utils.eclipse.org, "Alexander
Nyßen" <any@informatik.rwth-aachen.de> wrote:

> Looking at the exported product showed that indeed -even if they are all
> included in my .product configuration file, the PDE target features
> (respectively their plugins) do not get exported. What to do?
>
> Regards
> Alexander
>
>
> "Alexander Nyßen" <any@informatik.rwth-aachen.de> schrieb im Newsbeitrag
> news:ekhj5a$98m$1@utils.eclipse.org...
>> I listed all of the platform features as features in my .product definition
>> (part of the product configuration). Listing the plugins contained by the
>> platform features under the dependencies list of one of my features does
>> not change anything, the error remains the same. Do I also have to add all
>> the platform plugins as included plugins to one of my features?
>>
>> Regards
>> Alexander
>>
>> "J Michael Dean" <mdean77@comcast.net> schrieb im Newsbeitrag
>> news:C191908E.195DF%mdean77@comcast.net...
>>>
>>> Make sure your features include all the plugins needed for them.
>>> Remember
>>> that all your plugin dependencies that are satisfied either by your IDE
>>> installation or your PDE target must be satisfied in the final exported
>>> product, so all these plugins need to be in your features.
>>>
>>>
>>> On 11/28/06 6:33 AM, in article ekhds7$8b8$1@utils.eclipse.org,
>>> "Alexander
>>> Nyßen" <any@informatik.rwth-aachen.de> wrote:
>>>
>>>> Hallo,
>>>>
>>>> I tried to convert my plugin-configured product into a feature-based
>>>> product. The export works well, the launching from the Product
>>>> Configuration
>>>> Editor also. My .product file also includes the org.eclipse.rcp feature.
>>>> However, after exporting, when trying to start the product, I get the
>>>> following RuntimeException:
>>>>
>>>> !SESSION Tue Nov 28 14:22:40 CET
>>>> 2006 ------------------------------------------
>>>> !ENTRY org.eclipse.core.launcher 4 0 2006-11-28 14:22:40.282
>>>> !MESSAGE Exception launching the Eclipse Platform:
>>>> !STACK
>>>> java.lang.RuntimeException: Could not find framework
>>>> at org.eclipse.core.launcher.Main.getBootPath(Main.java:649)
>>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
>>>> at org.eclipse.core.launcher.Main.run(Main.java:987)
>>>> at org.eclipse.core.launcher.Main.main(Main.java:962)
>>>>
>>>> My config.ini is the following:
>>>> osgi.splashPath = platform:/base/plugins/org.nyssen.viper_platform
>>>> osgi.bundles=org.eclipse.equinox.common@2:start,
>>>> org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
>>>> osgi.bundles.defaultStartLevel=4
>>>> eclipse.product=org.nyssen.viper_platform.ViPER
>>>> eof=eof
>>>>
>>>> The configuration-directory of the product does only contain the
>>>> config.ini
>>>> file (and of course the .log file containing the above error message),
>>>> but
>>>> not the org.eclipse.core.runtime, org.eclipse.osgi and
>>>> org.eclipse.update
>>>> folders like in case of a plugin-based export.
>>>>
>>>> Any ideas?
>>>>
>>>> Best Regards
>>>> Alexander Nyßen
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
>
Re: Feature-based Product - Launching Problem [message #459209 is a reply to message #459195] Wed, 29 November 2006 03:52 Go to previous messageGo to next message
Eclipse UserFriend
To get it right: I do not only have to add the platform plugins I wish to
export to the list of dependent plugins of my feature, but to the list of
included plugins??

Regards
Alexander

"J Michael Dean" <mdean77@comcast.net> schrieb im Newsbeitrag
news:C1923FC0.1998D%mdean77@comcast.net...
> Add these plugins to your feature.
>
>
> On 11/28/06 10:31 AM, in article ekhrpi$phi$1@utils.eclipse.org,
> "Alexander
> Ny
Re: Feature-based Product - Launching Problem [message #459233 is a reply to message #459209] Wed, 29 November 2006 08:57 Go to previous message
Eclipse UserFriend
Strange but true; I get caught by that all the time.

Paul
Previous Topic:Detecting user idle
Next Topic:eclipse update manager
Goto Forum:
  


Current Time: Sat Mar 15 11:10:58 EDT 2025

Powered by FUDForum. Page generated in 0.05990 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top