core.runtime missing in bundles.info [message #658872] |
Thu, 10 March 2011 08:28 |
|
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 |
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.02952 seconds