Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to use jars from bundle pool in the PDE headless build?
How to use jars from bundle pool in the PDE headless build? [message #1705825] Wed, 19 August 2015 11:37 Go to next message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
I have an RCP project that is build in headless mode using PDE and Ant.
In the build.properties I have the following properties:
eclipse.launcher=C:/eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
eclipse.pde=C:/eclipse/plugins/org.eclipse.pde.build_3.9.100.v20150521-1524

Now, I have changed to use Oomph, and the eclipse directory doesn't contain the jars anymore, because it reuses the jars from the bundle pool.
If I update the build.properties to point to the bundle pool, it doesn't work:
eclipse.launcher=C:/Users/<username>/.p2/pool/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
eclipse.pde=C:/Users/<username>/.p2/pool/plugins/org.eclipse.pde.build_3.9.100.v20150521-1524

I get this error in the console:
Java returned: 13

In the log I get this error:
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).


Does anyone know how can I use the bundle pool to build my RCP project? Can this be related with the config.ini?

Thanks.

Re: How to use jars from bundle pool in the PDE headless build? [message #1705828 is a reply to message #1705825] Wed, 19 August 2015 11:44 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 19.08.2015 um 13:37 schrieb Silvestre Martins:
> I have an RCP project that is build in headless mode using PDE and Ant.
> In the build.properties I have the following properties:
> eclipse.launcher=C:/eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
> eclipse.pde=C:/eclipse/plugins/org.eclipse.pde.build_3.9.100.v20150521-1524
>
> Now, I have changed to use Oomph, and the eclipse directory doesn't contain the jars anymore, because it reuses the
> jars from the bundle pool.
> If I update the build.properties to point to the bundle pool, it doesn't work:
> eclipse.launcher=C:/Users/<username>/.p2/pool/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
> eclipse.pde=C:/Users/<username>/.p2/pool/plugins/org.eclipse.pde.build_3.9.100.v20150521-1524
>
> I get this error in the console:
> Java returned: 13
>
> In the log I get this error:
>
> java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime
> bundle is resolved and started (see config.ini).
>
>
> Does anyone know how can I use the bundle pool to build my RCP project?
I fear I have absolutely no experience with PDE build and cannot help. If nobody else knows how to configure it to use a
shared bundle pool you'll probably have to install your IDE without such a shared bundle pool. Both the simple (via the
menu) and the advanced (via a checkbox on the first page) installer have options to disable that.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:"Skip automoatic task execution at startup time" set as default?
Next Topic:Oomph triggers first Build before applying the correct compiler compliance level preference
Goto Forum:
  


Current Time: Thu Apr 25 09:32:45 GMT 2024

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

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

Back to the top