Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Babel » Getting Galileo langpacks to work without p2 metadata
Getting Galileo langpacks to work without p2 metadata [message #28397] Tue, 19 May 2009 04:45 Go to next message
Sean Flanigan is currently offline Sean FlaniganFriend
Messages: 22
Registered: July 2009
Junior Member
Hi,

Owing to [https://bugs.eclipse.org/274025], p2 metadata isn't being
generated for Babel, and hasn't been for a month or so.

Has anyone been able to install langpacks in Galileo since the p2
metadata stopped? I can only get them to install if I generate p2
metadata myself (by using my patch to fix the above bug). Otherwise,
the p2 update manager UI says "There are no items available."

If it's just me having this problem, would someone mind sharing the trick?

If it's not just me, I think [https://bugs.eclipse.org/276306], and
perhaps 274025, deserve higher severity than "normal". Quite a bit higher.

Regards

Sean.
Re: Getting Galileo langpacks to work without p2 metadata [message #28463 is a reply to message #28397] Tue, 19 May 2009 07:40 Go to previous messageGo to next message
Sean Flanigan is currently offline Sean FlaniganFriend
Messages: 22
Registered: July 2009
Junior Member
On 05/19/2009 02:45 PM, Sean Flanigan wrote:
> Hi,
>
> Owing to [https://bugs.eclipse.org/274025], p2 metadata isn't being
> generated for Babel, and hasn't been for a month or so.
>
> Has anyone been able to install langpacks in Galileo since the p2
> metadata stopped? I can only get them to install if I generate p2
> metadata myself (by using my patch to fix the above bug). Otherwise,
> the p2 update manager UI says "There are no items available."
>
> If it's just me having this problem, would someone mind sharing the trick?
>
> If it's not just me, I think [https://bugs.eclipse.org/276306], and
> perhaps 274025, deserve higher severity than "normal". Quite a bit higher.
>
> Regards
>
> Sean.

Further to my own post, I have discovered that Galileo will pick up the
zipped langpacks (without metadata) if you unzip the plugins into, say,
eclipse/dropins/babel/plugins, and simply throw away the features.
(Note that Eclipse starts pretty slowly the first time, because it has
to scan the dropins directory. So don't try doing it for too many
languages.)

I think this works because it lets Eclipse ignore the incomplete
dependencies of the features (they depend on plugin fragments which are
there, but not all the host plugins are installed). Since dropins only
contains fragments, p2 just tries to use as many fragments as possible,
and ignores the rest.

However, I still haven't been able to get Galileo langpacks working via
the update site. Any advice appreciated!

Sean.
Re: Getting Galileo langpacks to work without p2 metadata [message #28976 is a reply to message #28463] Thu, 28 May 2009 14:13 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 508056
Registered: July 2009
Senior Member
Sean Flanigan wrote:
> On 05/19/2009 02:45 PM, Sean Flanigan wrote:
>> Hi,
>>
>> Owing to [https://bugs.eclipse.org/274025], p2 metadata isn't being
>> generated for Babel, and hasn't been for a month or so.
>>
>> Has anyone been able to install langpacks in Galileo since the p2
>> metadata stopped? I can only get them to install if I generate p2
>> metadata myself (by using my patch to fix the above bug). Otherwise,
>> the p2 update manager UI says "There are no items available."
>>
>> If it's just me having this problem, would someone mind sharing the
>> trick?
>>
>> If it's not just me, I think [https://bugs.eclipse.org/276306], and
>> perhaps 274025, deserve higher severity than "normal". Quite a bit
>> higher.
>>
>> Regards
>>
>> Sean.
>
> Further to my own post, I have discovered that Galileo will pick up the
> zipped langpacks (without metadata) if you unzip the plugins into, say,
> eclipse/dropins/babel/plugins, and simply throw away the features. (Note
> that Eclipse starts pretty slowly the first time, because it has to scan
> the dropins directory. So don't try doing it for too many languages.)
>
> I think this works because it lets Eclipse ignore the incomplete
> dependencies of the features (they depend on plugin fragments which are
> there, but not all the host plugins are installed). Since dropins only
> contains fragments, p2 just tries to use as many fragments as possible,
> and ignores the rest.
>
> However, I still haven't been able to get Galileo langpacks working via
> the update site. Any advice appreciated!
>
> Sean.

Hi Sean,

Thanks so much for your insight and all your involvement. I've just
posted a message to babel-dev regarding all this. Since your patch is
unlikely to make it into Eclipse 3.5, we will need to consider other
options for the update site.

Perhaps the easiest way out would be for me to run a patched p2 to
generate the metadata. I will look into this.

Denis
Re: Getting Galileo langpacks to work without p2 metadata [message #578816 is a reply to message #28397] Tue, 19 May 2009 07:40 Go to previous message
Sean Flanigan is currently offline Sean FlaniganFriend
Messages: 22
Registered: July 2009
Junior Member
On 05/19/2009 02:45 PM, Sean Flanigan wrote:
> Hi,
>
> Owing to [https://bugs.eclipse.org/274025], p2 metadata isn't being
> generated for Babel, and hasn't been for a month or so.
>
> Has anyone been able to install langpacks in Galileo since the p2
> metadata stopped? I can only get them to install if I generate p2
> metadata myself (by using my patch to fix the above bug). Otherwise,
> the p2 update manager UI says "There are no items available."
>
> If it's just me having this problem, would someone mind sharing the trick?
>
> If it's not just me, I think [https://bugs.eclipse.org/276306], and
> perhaps 274025, deserve higher severity than "normal". Quite a bit higher.
>
> Regards
>
> Sean.

Further to my own post, I have discovered that Galileo will pick up the
zipped langpacks (without metadata) if you unzip the plugins into, say,
eclipse/dropins/babel/plugins, and simply throw away the features.
(Note that Eclipse starts pretty slowly the first time, because it has
to scan the dropins directory. So don't try doing it for too many
languages.)

I think this works because it lets Eclipse ignore the incomplete
dependencies of the features (they depend on plugin fragments which are
there, but not all the host plugins are installed). Since dropins only
contains fragments, p2 just tries to use as many fragments as possible,
and ignores the rest.

However, I still haven't been able to get Galileo langpacks working via
the update site. Any advice appreciated!

Sean.
Re: Getting Galileo langpacks to work without p2 metadata [message #578853 is a reply to message #28463] Thu, 28 May 2009 14:13 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 508056
Registered: July 2009
Senior Member
Sean Flanigan wrote:
> On 05/19/2009 02:45 PM, Sean Flanigan wrote:
>> Hi,
>>
>> Owing to [https://bugs.eclipse.org/274025], p2 metadata isn't being
>> generated for Babel, and hasn't been for a month or so.
>>
>> Has anyone been able to install langpacks in Galileo since the p2
>> metadata stopped? I can only get them to install if I generate p2
>> metadata myself (by using my patch to fix the above bug). Otherwise,
>> the p2 update manager UI says "There are no items available."
>>
>> If it's just me having this problem, would someone mind sharing the
>> trick?
>>
>> If it's not just me, I think [https://bugs.eclipse.org/276306], and
>> perhaps 274025, deserve higher severity than "normal". Quite a bit
>> higher.
>>
>> Regards
>>
>> Sean.
>
> Further to my own post, I have discovered that Galileo will pick up the
> zipped langpacks (without metadata) if you unzip the plugins into, say,
> eclipse/dropins/babel/plugins, and simply throw away the features. (Note
> that Eclipse starts pretty slowly the first time, because it has to scan
> the dropins directory. So don't try doing it for too many languages.)
>
> I think this works because it lets Eclipse ignore the incomplete
> dependencies of the features (they depend on plugin fragments which are
> there, but not all the host plugins are installed). Since dropins only
> contains fragments, p2 just tries to use as many fragments as possible,
> and ignores the rest.
>
> However, I still haven't been able to get Galileo langpacks working via
> the update site. Any advice appreciated!
>
> Sean.

Hi Sean,

Thanks so much for your insight and all your involvement. I've just
posted a message to babel-dev regarding all this. Since your patch is
unlikely to make it into Eclipse 3.5, we will need to consider other
options for the update site.

Perhaps the easiest way out would be for me to run a patched p2 to
generate the metadata. I will look into this.

Denis
Previous Topic:Non-translatable Strings and properties files in fragment
Next Topic:Is it possible to get the dates/time in a specific locale but not the translations from that locale?
Goto Forum:
  


Current Time: Mon Nov 24 20:24:08 GMT 2014

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

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