Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Unnecessary searching for source bundles
Unnecessary searching for source bundles [message #925043] Thu, 27 September 2012 06:27 Go to next message
Matthew Webber is currently offline Matthew Webber
Messages: 198
Registered: December 2010
Senior Member
I've noticed some strange behavior when I materialize a CQuery. The CQuery correctly resolves a component a.b.c (type osgi.bundle) by finding it in a repository (git or subversion).

It then goes looking for another component, called a.b.c.source. I presume that this is triggered by my setting buckminster.download.source to true. There is no such named component, which does not fail the CQuery, but does slow the resolution down since it wastes time looking in various places.

My question is, WHY does Buckminster looks for a .source bundle? At that point, it has already found the source code in a repository. My understanding is that the search for matching .source only makes sense for .jars in the target platform, not for components that are already source.

Have I misunderstood how it is supposed to work, or is this a bug?

This is Eclipse 3.7.2 IDE with the matching Buckminster version.

Thanks
Matthew
Re: Unnecessary searching for source bundles [message #925224 is a reply to message #925043] Thu, 27 September 2012 10:03 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
I agree. It doesn't make sense to search for source bundles when what it already found is in fact, the source. Can you
please enter a bugzilla for this?

Thanks,
- thomas

On 2012-09-27 12:27, Matthew Webber wrote:
> I've noticed some strange behavior when I materialize a CQuery. The CQuery correctly resolves a component a.b.c (type
> osgi.bundle) by finding it in a repository (git or subversion).
>
> It then goes looking for another component, called a.b.c.source. I presume that this is triggered by my setting
> buckminster.download.source to true. There is no such named component, which does not fail the CQuery, but does slow the
> resolution down since it wastes time looking in various places.
>
> My question is, WHY does Buckminster looks for a .source bundle? At that point, it has already found the source code in
> a repository. My understanding is that the search for matching .source only makes sense for .jars in the target
> platform, not for components that are already source.
>
> Have I misunderstood how it is supposed to work, or is this a bug?
>
> This is Eclipse 3.7.2 IDE with the matching Buckminster version.
>
> Thanks
> Matthew
>
Re: Unnecessary searching for source bundles [message #926251 is a reply to message #925224] Fri, 28 September 2012 09:13 Go to previous message
Matthew Webber is currently offline Matthew Webber
Messages: 198
Registered: December 2010
Senior Member
I have entered https://bugs.eclipse.org/bugs/show_bug.cgi?id=390680 for this bug.
Thanks
Previous Topic:Is SVN Authentication working in buckmisnter?
Next Topic:Rebuilding plugin
Goto Forum:
  


Current Time: Mon Sep 01 22:04:37 EDT 2014

Powered by FUDForum. Page generated in 0.01897 seconds