dev@glassfish.java.net

Re: [Fwd: [Issue 5559] Fix module jar names]

From: Fabian Ritzmann <Fabian.Ritzmann_at_Sun.COM>
Date: Wed, 27 Aug 2008 17:38:39 +0300

Hi,

Could somebody please summarize what conventions we should be applying
to name our bundle files?

I would also appreciate some guidance on what to put into the Bundle-
SymbolicName and Bundle-Name.

Fabian


On 21. Aug 2008, at 19:43, Ludovic Champenois wrote:

> Sahoo wrote:
>> Jerome Dochez wrote:
>>> the usual guideline is to use the package name like
>>>
>>> javax.annotation-10.0-SNAPSHOT.jar
>>>
>>> of course we have many jars containing more than one package, but
>>> you can always hope there is only one main package for each bundle.
>>> so we could continue having the workspace splitted in functional
>>> areas like (web, security, ejb, core) but use a package name for
>>> the sub directories, something like :
>>> ejb/javax.ejb -> APIs would become javax-ejb-10.0...
>>> ejb/ejb -> container would become org-glassfish-
>>> ejb-10.0...
>>> ejb/ejb-security-> ejb related security become org-glassfish-
>>> ejb-security-10.0
>>> should we use '-' or '.' to separate each package remains to be
>>> decided.
>>>
>> I definitely like '.' instead of '-'.
> Eclipse uses .
> NetBeans uses -
> Let's go with the OSGi IDE :-)
> Ludo
>>
>> Thanks,
>> Sahoo
>>