On 5/3/2010 10:59 AM, Thilo Goetz wrote:
> Marshall,
>
> 2.3.1-SNAPSHOT is not a valid OSGi version number.  

I read on the internet (makes it true :-) )   in the reference link
below that
"

According to OSGi spec 4.1 section 3.5.2 Bundle-SymbolicName has syntax:
Bundle-SymbolicName ::= symbolic-name ( ';' parameter ) *
and in 1.3.2 we see the following:
symbolic-name ::= token('.'token)*
token ::= ( alphanum | '_' | '-')+

so '-' is a legal character and therefor eclipse should not warn us 

Is this incorrect?  Or is this an OSGi spec back-level compliance issue?

-Marshall

> Eclipse
> may be doing funny stuff to get around this, but it's not
> going to work for other OSGi runtimes.  Not sure if that
> affects Tommaso's work?
>
> --Thilo
>
> On 5/3/2010 16:47, Marshall Schor wrote:
>   
>> For our builds, we have been doing extra stuff to have 2 kinds of versions:
>>
>> Maven conventions: 2.3.1-SNAPSHOT and
>> Eclipse plugin conventions: 2.3.1.SNAPSHOT
>>
>> Eclipse appears to have been updated to allow the dash: see
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=197503
>>
>> So I'll presume this works and as part of my maven alignment work,
>> remove the special treatment of versions for eclipse & osgi plugins,
>> going forward.
>>
>> -Marshall
>>     
>
>   

Reply via email to