Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 240018

Summary: Investigate id validation in PDE for the "-" symbol
Product: [Eclipse Project] PDE Reporter: Chris Aniszczyk <caniszczyk>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: ekke, tjwatson
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Chris Aniszczyk CLA 2008-07-08 12:15:57 EDT
see bug 173414 for a discussion
Comment 1 ekkehard gentz CLA 2008-09-11 05:55:17 EDT
there's a problem with bundle (plug-in) filenames.
If the version ist separated by "-" instead of "_" then in config.ini (osgi.bundles) I have to use the whole name.

example:

EasyBeans names bundle filenames like
easybeans-core-1.1.0

But if I place only
easybeans-core
in my config.ini under osgi.bundles the bundle wasn't found,
I have to place the whole filename

changing the bundle filename into
easybeans-core_1.1.0
I can use the short form easybeans-core.


Comment 2 Chris Aniszczyk CLA 2008-09-11 08:55:32 EDT
What is the BSN?

easybeans-core?
Comment 3 ekkehard gentz CLA 2008-09-11 10:14:16 EDT
Bundle-SymbolicName: org.ow2.easybeans.core;

config.ini was somthing like this:

osgi.bundles=\
org.eclipse.equinox.common@2:start, \
org.eclipse.osgi.services@start, \
org.eclipse.equinox.cm@start, \
org.eclipse.equinox.ds@start, \
org.eclipse.equinox.log@start, \
org.eclipse.equinox.util@start,  \
ow2-bundles-externals-commons-logging-1.0.5@start, \
easybeans-core-1.0.0, \
.....
Comment 4 Thomas Watson CLA 2008-09-11 15:00:19 EDT
(In reply to comment #3)
> Bundle-SymbolicName: org.ow2.easybeans.core;
> 
> config.ini was somthing like this:
> 
> osgi.bundles=\
> org.eclipse.equinox.common@2:start, \
> org.eclipse.osgi.services@start, \
> org.eclipse.equinox.cm@start, \
> org.eclipse.equinox.ds@start, \
> org.eclipse.equinox.log@start, \
> org.eclipse.equinox.util@start,  \
> ow2-bundles-externals-commons-logging-1.0.5@start, \
> easybeans-core-1.0.0, \
> .....
> 

This is happening because of bug 174362.
Comment 5 Thomas Watson CLA 2008-09-11 15:18:07 EDT
Chris, I don't see anything in bug 173414 that talks about validation of BSN.  Is that the correct bug?
Comment 6 Chris Aniszczyk CLA 2008-09-12 10:33:14 EDT
I'm going to dupe this as this seems to be a bootstrap issue.

Tom, the bug in question is:

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

*** This bug has been marked as a duplicate of bug 174362 ***