Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » core.runtime missing in bundles.info
core.runtime missing in bundles.info [message #658872] Thu, 10 March 2011 08:28 Go to next message
Gunnar Wagenknecht is currently offline Gunnar Wagenknecht
Messages: 451
Registered: July 2009
Location: Germany ✈ Vancouver
Senior Member

Hi,

We have an existing build using Buckminster. The build is setup to
materialize a target platform and then builds a p2 repo and a product.

Recently we updated the target platform to include a new version of
org.eclipse.core.runtime (from 3.7M5). Since that time we seem to have
some build instabilities. Sometimes a build runs through fine. Sometime
the same build (without any chances in code) is broken because the
o.e.core.runtime bundle is missing in the generated bundles.info. It
does exists in the resulting product in the plug-ins directory, though.
Thus, I can install and start it manually from within the OSGi console
and things are fine.

Unfortunately, the log files don't report any error. Is there some debug
logging that we can activate?

Thanks,
Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: core.runtime missing in bundles.info [message #658895 is a reply to message #658872] Thu, 10 March 2011 10:24 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Gunnar,

The code that produces the bundle.info file is in the org.eclipse.equinox.frameworkadmin.equinox package. I've browsed
the source code for log output but it's unfortunately very limited even if you should enable DEBUG logging for that
bundle. In essence, it just logs one line when it enters the initialize/load/save methods.

Your best bet is probably to debug. I usually add the vm argument:

-agentlib:jdwp=transport=dt_socket,address=8000,server=y,sus pend=y

In the IDE, I set some suitable break point and create a remote debug configuration. I start the build and attach my IDE
once it reaches the perform call.

Since the problem seems intermittent, chances are that it will work every time when you debug. Things like this can be a
nightmare. Let me know if there's anything I can do to help.

- thomas


On 2011-03-10 09:28, Gunnar Wagenknecht wrote:
> Hi,
>
> We have an existing build using Buckminster. The build is setup to
> materialize a target platform and then builds a p2 repo and a product.
>
> Recently we updated the target platform to include a new version of
> org.eclipse.core.runtime (from 3.7M5). Since that time we seem to have
> some build instabilities. Sometimes a build runs through fine. Sometime
> the same build (without any chances in code) is broken because the
> o.e.core.runtime bundle is missing in the generated bundles.info. It
> does exists in the resulting product in the plug-ins directory, though.
> Thus, I can install and start it manually from within the OSGi console
> and things are fine.
>
> Unfortunately, the log files don't report any error. Is there some debug
> logging that we can activate?
>
> Thanks,
> Gunnar
>
Previous Topic:Where does headless buckminster look for eclipse launchers?
Next Topic:What's the best way to get buckminster&hudson to create from two different .product files?
Goto Forum:
  


Current Time: Wed Oct 22 00:16:38 GMT 2014

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

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