Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » Ignoring a dependency and advisor nodes
Ignoring a dependency and advisor nodes [message #7196] Tue, 11 March 2008 23:04 Go to next message
Adrian Skehill is currently offline Adrian SkehillFriend
Messages: 55
Registered: July 2009
Member
Hi There,

I've been tearing my hair out trying to get this to work, so hopefully
there's some help on the alias.

I'm trying to resolve a plugin which has a cspex defined to pull in a
number of jars from a maven repository. All of these jars have a groupId
or com.iona.repository and I don't want buckminster to parse any of the
dependencies listed in those poms, as in most cases I'll be satisfying
that dependency by using other OSGi bundles. So what I've done is:

In my cquery, I have the following line:

<cq:advisorNode namePattern="^com\.iona\.repository(\..*)?"
componentType="maven,jar" prune="true"/>

thinking that this will mean any maven or jar artefact will not have its
dependencies parsed.

But to be on the safe side I also have:

<cq:advisorNode namePattern=".*derby.*" componentType="maven,jar"
skipComponent="true"/>

(which one of the com.iona.repository plugins has listed in its pom)

However, when I go to resolve I get:

ERROR [0009] : Unable to find a searchPath for component
org.apache.derby/derby

I don't have an entry for it in the rmap at all, but I thought that by
saying skipComponent, it wouldn't look for this.

Is there a way I can tell Buckminster not to worry about this dependency
and what would be the best way to do it?

I'm so close to having my workspace materialized, it would be great if I
could get these issues ironed out.

Any feedback would be really appreciated.

Adrian.
Re: Ignoring a dependency and advisor nodes [message #7220 is a reply to message #7196] Wed, 12 March 2008 07:08 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Adrian Skehill wrote:
> In my cquery, I have the following line:
>
> <cq:advisorNode namePattern="^com\.iona\.repository(\..*)?"
> componentType="maven,jar" prune="true"/>
>
I think the problem is right there. The componentType is not plural in this place (although it
certainly could be when I think about it). The type you want here is maven.

Kind Regards,
Thomas Hallgren
Re: Ignoring a dependency and advisor nodes [message #7244 is a reply to message #7220] Wed, 12 March 2008 08:52 Go to previous message
Adrian Skehill is currently offline Adrian SkehillFriend
Messages: 55
Registered: July 2009
Member
Thomas Hallgren wrote:
> Adrian Skehill wrote:
>> In my cquery, I have the following line:
>>
>> <cq:advisorNode namePattern="^com\.iona\.repository(\..*)?"
>> componentType="maven,jar" prune="true"/>
>>
> I think the problem is right there. The componentType is not plural in
> this place (although it certainly could be when I think about it). The
> type you want here is maven.
>
> Kind Regards,
> Thomas Hallgren

Thanks Thomas, unfortunately no joy. I tried this without the
componentType attribute as well and it still didn't work. Any other
pointers?


Cheers,
Adrian.
Previous Topic:Re: [buckminster-dev] headless resolve with properties
Next Topic:Re: [buckminster-dev] headless resolve with properties
Goto Forum:
  


Current Time: Tue Mar 19 09:44:40 GMT 2024

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

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

Back to the top