Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Naming of Google Guava Bundle

Thanks Lazar.

I'm sorry for the failing builds. I should have started with updating an existing one before adding a completely new one from scratch.

In addition to the fixes below, you should rename the folder in which the sources are from bundle-source to source-bundle,

Fixed that before but I didn't tag it after this update. I guess this caused the latest failing build (?).

and add plugin.properties file to it for the localization and fix the manifest for the source bundle with Bundle-Localization header.

Bundle localization is done in OSGI-INF/I10n/bundle.properties which should be included. This is the setting used by guava-osgi. Is there actually a need to use the Bundle-Localization header then?


Marcel

On 05.03.2012, at 12:01, Kirchev, Lazar wrote:

Hi Marcel,
 
In addition to the fixes below, you should rename the folder in which the sources are from bundle-source to source-bundle, and add plugin.properties file to it for the localization and fix the manifest for the source bundle with Bundle-Localization header.
 
Lazar
 
From: orbit-dev-bounces@xxxxxxxxxxx [mailto:orbit-dev-bounces@xxxxxxxxxxx] On Behalf Of Kirchev, Lazar
Sent: Monday, March 05, 2012 12:17 PM
To: Orbit Developer discussion
Subject: Re: [orbit-dev] Naming of Google Guava Bundle
 
Hi all,
 
The adding of com.google.guava to Orbit breaks the build. I found that org.eclipse.orbit.build.feature.set2 was not tagged with the tag used in bundles.map. I fixed this, but the build continues to fail.
I see that in the bundle’s manifest localization is used, but the localization header is missing from the manifest, and the plugin.properties file is missing too. In the manifest you should use something like:
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
 
And you should create plugin.properties file in the root of your project, where you define pluginName  and providerName. providerName should be Eclipse Orbit. You can check some other project for an example.
 
Could you please fix these problems?
 
Regards,
Lazar
 
From: orbit-dev-bounces@xxxxxxxxxxx [mailto:orbit-dev-bounces@xxxxxxxxxxx] On Behalf Of Marcel Bruch
Sent: Monday, March 05, 2012 9:16 AM
To: Orbit Developer discussion
Subject: [orbit-dev] Naming of Google Guava Bundle
 
Hi,
 
I'm not sure about the bundle name to use for the Google Guava 10.0.1 bundle. Guava team does not give any osgi information, so I thought it would be best to ask here for comments.
 
I see two different names that make sense to me.
 
1. "com.google.guava": This is close to what they use as maven coordinate "com.google.guava:guava".
2. "com.google.common": This is the primary package of the bundle. Package naming does not use guava in it. That way, it would be in the line with Google Guice which lives under the namespace com.google.inject instead of com.google.guice.
 
I've used 1. before in Code Recommenders but tend towards 2. since it seems to be more in accordance to the common eclipse naming conventions. I'll prepare it this package now. But if this causes any severe issues on your end you should stand up soon :)
 
Thanks,
Marcel
 
 
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev

Thanks,
Marcel



Back to the top