On 19.03.2009, at 21:31, Richard S. Hall wrote:
On 3/19/09 12:51 PM, Stuart McCulloch wrote:
2009/3/20<[email protected]>
Author: clement
Date: Thu Mar 19 16:29:08 2009
New Revision: 756080
URL: http://svn.apache.org/viewvc?rev=756080&view=rev
Log:
Declare iPOJO as a singleton bundle (Felix-982).
Be aware that this will be ignored by Felix.
Hi Clement, I believe Felix now enforces the "singleton" directive
(previously it did ignore it)
Yes.
-> richard
Great to hear. I was pretty sure it was not supported. I just tested
this on Equinox :-( and just checked that the OBR description
(computed by the maven-bundle-plugin) is not messed up by the
directive. So, I just moved my test to Felix and it works perfectly.
Thanks,
Clement
Modified:
felix/trunk/ipojo/core/pom.xml
Modified: felix/trunk/ipojo/core/pom.xml
URL:
http://svn.apache.org/viewvc/felix/trunk/ipojo/core/pom.xml?rev=756080&r1=756079&r2=756080&view=diff
=
=
=
=
=
=
=
=
=
=
====================================================================
--- felix/trunk/ipojo/core/pom.xml (original)
+++ felix/trunk/ipojo/core/pom.xml Thu Mar 19 16:29:08 2009
@@ -62,8 +62,7 @@
<instructions>
<Bundle-Name>Apache
Felix
iPOJO</Bundle-Name>
<Bundle-Vendor>
The Apache
Software Foundation</Bundle-Vendor>
-<Bundle-SymbolicName>
org.apache.felix.ipojo
-</Bundle-SymbolicName>
+
<Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</
Bundle-SymbolicName>
<Bundle-
Description> iPOJO
Core Framework</Bundle-Description>
<Bundle-Activator>
org.apache.felix.ipojo.Extender
</Bundle-Activator>