Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » RCP roduct Launch fails when defining "-configuration" switch
RCP roduct Launch fails when defining "-configuration" switch [message #597363] Wed, 13 May 2009 08:36
Rhodan76 Mising name is currently offline Rhodan76 Mising nameFriend
Messages: 71
Registered: July 2009

when we define the "-configuration" switch as a program argument inside a
product.launcher file, then the product fails to start (only) when
launched from inside the eclipse IDE.



The product creates the configuration area, but seems that it cannot
locate it's runtime files:

java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework( 549)
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

If Product is being exported, then all runs fine - it does only not start
when launched from inside eclipse.

Tested with Eclipse 3.4.2 and Eclipse 3.5M6.

Any help appreciated....
Previous Topic:[target] Resolving software site dependencies
Next Topic:Window->Preference Page not listed
Goto Forum:

Current Time: Mon Sep 26 04:21:33 GMT 2022

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

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

Back to the top