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
Member
Hello,

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.

Example:

-data
"@user.home/Client"
-user
"@user.home/Client"
-configuration
"@user.home/Client/configuration"

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).
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:74)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)


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: Fri Jun 25 14:24:58 GMT 2021

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

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

Back to the top