felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Sauthier (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-107) Felix can deploy bundles without Bundle-SymbolicName header
Date Tue, 08 Aug 2006 16:36:13 GMT
Felix can deploy bundles without Bundle-SymbolicName header

                 Key: FELIX-107
                 URL: http://issues.apache.org/jira/browse/FELIX-107
             Project: Felix
          Issue Type: Bug
          Components: Framework
         Environment: Latest Felix from SVN
            Reporter: Guillaume Sauthier

In OSGi R4 ยง3.2.1.13,  the Bundle-SymbolicName Manifest Header is defined as mandatory :
" Bundle-SymbolicName: com.acme.daffy
The Bundle-SymbolicName header specifies a unique, non-localizable name
for this bundle. This name should be based on the reverse domain name
convention, see Bundle-SymbolicName on page 37. This header must be set."

Allowing that header to be null, affect the bundlerepository bundle :

obr deploy "My Bundle"
	at org.apache.felix.bundlerepository.ResourceImpl.equals(ResourceImpl.java:69)
	at java.util.Arrays$ArrayList.indexOf(Arrays.java:2384)
	at java.util.Arrays$ArrayList.contains(Arrays.java:2391)
	at java.util.AbstractSet.removeAll(AbstractSet.java:146)
	at org.apache.felix.bundlerepository.ResolverImpl.resolve(ResolverImpl.java:143)
	at org.apache.felix.bundlerepository.ObrCommandImpl._deploy(ObrCommandImpl.java:320)
	at org.apache.felix.bundlerepository.ObrCommandImpl.deploy(ObrCommandImpl.java:294)
	at org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:108)
	at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:263)
	at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:165)
	at java.lang.Thread.run(Thread.java:595)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message