PDE Build fails with "Java returned 13" [message #326894] |
Wed, 02 April 2008 19:17 |
Eclipse User |
|
|
|
Originally posted by: kosta.bea.com
We are in the process of adopting 3.4 M6 into our product build. Our
existing build works fine with 3.4 M5, but is having issues with M6. My
guess it's an interaction between p2 and PDE build. I am hoping that
someone has seen this before and knows a workaround.
Our build basically takes the eclipse distros (eclipse platform sdk +
several others), unzips them all into a "target platform" location and
then does a basic invocation to PDE build. That worked with M5. With M6,
we are getting "Java returned: 13" when calling PDE build.
The log file has the following exception:
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:362)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:175)
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:597)
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)
at org.eclipse.core.launcher.Main.main(Main.java:30)
What's weird is that if after the build fails, I go to the target
install directory, launch eclipse, let it sit for 10 minutes thinking,
and then cancel from the "pick the workspace dialog", the build will run
fine after that.
I tried adding a call to start target platform eclipse with -initialize
before calling PDE build, but that doesn't change the outcome.
Is this a known problem? Does anyone know of any workarounds?
Thanks,
- Konstantin
|
|
|
|
Powered by
FUDForum. Page generated in 0.02647 seconds