Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » blocking error with 3.4 when having dashes (-) in bundle symbolic names
blocking error with 3.4 when having dashes (-) in bundle symbolic names [message #10760] Mon, 07 July 2008 10:32
Wouter de Vaal is currently offline Wouter de VaalFriend
Messages: 19
Registered: July 2009
Junior Member
Hi,

Eclipse wrongly says you can't have a - in the bundle symbolic name,
according to OSGi specs this is perfectly legal.
The error:
Bundle symbolic name contains illegal characters. Legal characters are
A-Z a-z 0-9 . _

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 | '_' | '-')+

I have already filed an bug for this on eclipse 3.3, but on that version
it was "only" a warning, but with eclipse 3.4 it has become an error.
For my projects this is a serious blocker for using eclipse 3.4, as a
lot of external bundle use dashes in their names. I also have found no
way to disable this error.

I have already filed a bug, but I am also posting it here as I think
this is a serious eclipse bug, preventing us to upgrade, while we are
doing nothing wrong.

See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=197503

https://bugs.eclipse.org/bugs/show_bug.cgi?id=239777

I hope this gets the attention I think it deserves.

Regards,
Wouter
Previous Topic:Number attributes in Extension Points
Next Topic:blocking error with 3.4 when having dashes (-) in bundle symbolic names
Goto Forum:
  


Current Time: Thu Apr 25 08:02:23 GMT 2024

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

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

Back to the top