Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » google.collect / google.guava
google.collect / google.guava [message #976338] Thu, 08 November 2012 14:02 Go to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 937
Registered: July 2009
Senior Member
Hi,

I rather newbie to Buckminster, I am currently setting up my .rmap to resolve dependencies.
An interresting case is google.collect. It came with xtext, and I have been using reference to the plugin in my own plugins. In Orbit however, it's likely called Guava. Can I Advise CQuery to match google.collect to google.guava? (An alternative would be to include an own feature which would point to a google.collect named feature, but that's a hack. More ideas are welcome!


Thanks, Christophe
Re: google.collect / google.guava [message #976346 is a reply to message #976338] Thu, 08 November 2012 14:06 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis Huebner
Messages: 213
Registered: July 2009
Senior Member

Orbit contains both collect and guava.
In Xtext we use following setup:

<rm:locator pattern="^com\.google(?:\..+)?$" searchPathRef="orbit"/>

<rm:searchPath name="orbit">
<rm:provider componentTypes="eclipse.feature,osgi.bundle" readerType="p2" source="false" mutable="false">
<rm:uri format="{0}/modeling/tmf/xtext/updates/orbit">
<bc:propertyRef key="eclipse.download"/>
</rm:uri>
</rm:provider>
</rm:searchPath>


Re: google.collect / google.guava [message #976358 is a reply to message #976346] Thu, 08 November 2012 14:19 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 937
Registered: July 2009
Senior Member
Thanks Dennis! My orbit uri looks very different:

http://download.eclipse.org/tools/orbit/downloads/drops/S20121021123453/repository/

Is this an xtext specific incarnation? (I would judge from the URI /modeling/tmf/....

rgds Christophe
Re: google.collect / google.guava [message #976364 is a reply to message #976358] Thu, 08 November 2012 14:24 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 937
Registered: July 2009
Senior Member
Actually the URI as stated: eclipse.download/modeling/tmf/xtext/updates/orbit doesn't resolve as a P2, are you sure this is a correct P2 uri?
Re: google.collect / google.guava [message #976369 is a reply to message #976358] Thu, 08 November 2012 14:26 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis Huebner
Messages: 213
Registered: July 2009
Senior Member

Laughing
It's most recent/recommended Orbit version (self managed by Xtext)

collect bundle is deprecated and does not exist in recent Orbit versions.
You can probably use http://download.eclipse.org/tools/orbit/downloads/drops/R20120119162704/
there is still both collect and guava contained.


Re: google.collect / google.guava [message #976382 is a reply to message #976369] Thu, 08 November 2012 14:39 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 937
Registered: July 2009
Senior Member
OK, thanks for the pointer.
It seems the URI to the "self-managed" orbit containing google collect, is a local workspace or target for your buckminster, which is not useful outside it's context. I would not post it here, but thanks anyway.

Re: google.collect / google.guava [message #976383 is a reply to message #976382] Thu, 08 November 2012 14:41 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis Huebner
Messages: 213
Registered: July 2009
Senior Member

I forgot to paste the property def in my first post, sry.
<rm:property key="eclipse.download" value="http://download.eclipse.org"/>


But you should use the older orbit version, because google.collect was removed from orbit with R20120526062928.


[Updated on: Thu, 08 November 2012 14:44]

Report message to a moderator

Re: google.collect / google.guava [message #976397 is a reply to message #976383] Thu, 08 November 2012 14:54 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 937
Registered: July 2009
Senior Member
ah, ok now it makes sense!
I decided to self-manage this plugin as well for xtext references to google.collect.
In my own plugin, I will migrate to Guava.
Cheers Christophe
Re: google.collect / google.guava [message #976399 is a reply to message #976397] Thu, 08 November 2012 14:56 Go to previous message
Dennis Huebner is currently offline Dennis Huebner
Messages: 213
Registered: July 2009
Senior Member

Thats a good decision!

Previous Topic:Buckminster tries to access old projects
Next Topic:reader for old archive locations.
Goto Forum:
  


Current Time: Tue Oct 21 18:41:19 GMT 2014

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

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