Also note, Bundle-SymbolicName and jar file names are expected to
match (as Eugene pointed out), but with a small twist: replace the
character's '-' in the jar filename with '_' then prefix it with the
bundle's group-id to create it's SymbolicName, so:
'org.terracotta.modules.clustered_foo' is the symbolic name for
the module jar: 'clustered-foo-1.0.0.jar'
This is a because the legal character's allowed for the SymbolicName
are: a-z A-Z 0-9 . _;
Also, notice that the bundle's version number is NOT used in the
symbolic name, there is a separate property for it (Bundle-Version)
On Aug 26, 2007, at 8:39 AM, Eugene Kuleshov wrote:
>
> This is hot it is defined in the schema:
>
> <module name="..." version="..." group-id="..."/>
>
> regards,
> Eugene
>
>
> Taylor Gautier wrote:
>> What is the syntax for groupIds in tc-config?
>>
>>
>>
>> On Aug 26, 2007, at 7:29 AM, Eugene Kuleshov <[EMAIL PROTECTED]>
>> wrote:
>>
>>> Taylor Gautier wrote:
>>>> I think we discussed this before, but it seems that the new maven
>>>> resolution requires that all config modules are build with a
>>>> groupId
>>>> of org.terracotta.modules - is that right?
>>> Not anymore. We assume that groupId is org.terracotta.modules but
>>> you
>>> can explicitly specify other groupId in tc-config.xml.
>>>
>>> One thing worth to mention is that we expect that groupId in Maven
>>> repository will match qualified name in the Require-Bundle and
>>> Bundle-SymbolicName attributes in the manifest.mf for all config
>>> modules.
>>>
>>> For example, clustered-iBatis-2.2.0 module have the following:
>>>
>>> Bundle-SymbolicName: org.terracotta.modules.clustered-iBatis-2.2.0
>>> Require-Bundle: org.terracotta.modules.modules_common,
>>> org.terracotta.modules.clustered-cglib-2.1.3
>>>
>>> All 3 above modules are in org.terracotta.modules namespace and the
>>> same groupId.
>>>
>>> regards,
>>> Eugene
>>>
>>>
>
> _______________________________________________
> tc-dev mailing list
> [email protected]
> http://lists.terracotta.org/mailman/listinfo/tc-dev
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev