Re: Felix/OSGi version on Karaf ?

2021-05-15 Thread Васил Зорев
Thank you!

На нд, 16.05.2021 г. в 8:11 ч. Jean-Baptiste Onofre 
написа:

> Hi Vassil,
>
> JVM/OSGi spec versions are listed here:
> http://karaf.apache.org/download.html
>
> Each Karaf branch supports specific OSGi spec.
>
> For instance, you can see that Karaf 4.3.x is OSGi R7 (providing
> corresponding Felix and Equinox framework).
>
> FYI, the wiki content is deprecated and you should use the documentation (
> http://karaf.apache.org/manual/latest/).
>
> You can change the framework using karaf.framework property in
> etc/config.properties.
> FYI, config.properties is loaded by Karaf Main (including jre.properties
> and custom.properties).
>
> Regards
> JB
>
> Le 15 mai 2021 à 20:18, Васил Зорев  a écrit :
>
> Hello,
>
> I know this is probably one of the first questions that comes to a Karaf
> user, but still:
>
> Where is defined the Felix framework version that a Karaf installation
> uses?
>
> 0 | Active   |   0 | 6.0.4  | System Bundle
>
>   | org.apache.felix.framework
>
>
> https://cwiki.apache.org/confluence/display/KARAF/How+do+I+choose+between+Felix+and+Equinox
> Based on this Wiki, I found it in etc/config.properties.
>
>
> karaf.framework.felix=mvn\:org.apache.felix/org.apache.felix.framework/6.0.4
> Is this how the felix version can be changed ? Can it be changed at all ?
>
> Also a question on OSGi versions and their backward compatibility. How is
> the OSGi version related to the Felix (or Equinox) version? In the same
> config file I found for example:
>
> org.osgi.framework.system.packages= \
>  ...
>  org.osgi.framework;version="1.9",\
>
> Does this affect some manifest header or? I am only familiar with major
> OSGi specification versions - 4,6,7 etc. don't know what 1.9 refers to. Can
> the Karaf OSGi version be changed (for example to another major release - 4
> or 6) or is it fixed and not backward-compatible?
>
> Sorry for the many questions. If there is documentation regarding this
> please relate it, I will gladly read it myself.
>
> Regards,
> Vassil
>
>
>


Re: Felix/OSGi version on Karaf ?

2021-05-15 Thread Jean-Baptiste Onofre
Hi Vassil,

JVM/OSGi spec versions are listed here: http://karaf.apache.org/download.html 


Each Karaf branch supports specific OSGi spec.

For instance, you can see that Karaf 4.3.x is OSGi R7 (providing corresponding 
Felix and Equinox framework).

FYI, the wiki content is deprecated and you should use the documentation 
(http://karaf.apache.org/manual/latest/ 
).

You can change the framework using karaf.framework property in 
etc/config.properties.
FYI, config.properties is loaded by Karaf Main (including jre.properties and 
custom.properties).

Regards
JB

> Le 15 mai 2021 à 20:18, Васил Зорев  a écrit :
> 
> Hello,
> 
> I know this is probably one of the first questions that comes to a Karaf 
> user, but still:
> 
> Where is defined the Felix framework version that a Karaf installation uses?
> 
> 0 | Active   |   0 | 6.0.4  | System Bundle   
>   | 
> org.apache.felix.framework
> 
> https://cwiki.apache.org/confluence/display/KARAF/How+do+I+choose+between+Felix+and+Equinox
>  
> 
> Based on this Wiki, I found it in etc/config.properties.
> 
> karaf.framework.felix=mvn\:org.apache.felix/org.apache.felix.framework/6.0.4
> Is this how the felix version can be changed ? Can it be changed at all ?
> 
> Also a question on OSGi versions and their backward compatibility. How is the 
> OSGi version related to the Felix (or Equinox) version? In the same config 
> file I found for example:
> 
> org.osgi.framework.system.packages= \
>  ...
>  org.osgi.framework;version="1.9",\
> 
> Does this affect some manifest header or? I am only familiar with major OSGi 
> specification versions - 4,6,7 etc. don't know what 1.9 refers to. Can the 
> Karaf OSGi version be changed (for example to another major release - 4 or 6) 
> or is it fixed and not backward-compatible?
> 
> Sorry for the many questions. If there is documentation regarding this please 
> relate it, I will gladly read it myself.
> 
> Regards,
> Vassil



Felix/OSGi version on Karaf ?

2021-05-15 Thread Васил Зорев
Hello,

I know this is probably one of the first questions that comes to a Karaf
user, but still:

Where is defined the Felix framework version that a Karaf installation uses?

0 | Active   |   0 | 6.0.4  | System Bundle

| org.apache.felix.framework

https://cwiki.apache.org/confluence/display/KARAF/How+do+I+choose+between+Felix+and+Equinox
Based on this Wiki, I found it in etc/config.properties.

karaf.framework.felix=mvn\:org.apache.felix/org.apache.felix.framework/6.0.4
Is this how the felix version can be changed ? Can it be changed at all ?

Also a question on OSGi versions and their backward compatibility. How is
the OSGi version related to the Felix (or Equinox) version? In the same
config file I found for example:

org.osgi.framework.system.packages= \
 ...
 org.osgi.framework;version="1.9",\

Does this affect some manifest header or? I am only familiar with major
OSGi specification versions - 4,6,7 etc. don't know what 1.9 refers to. Can
the Karaf OSGi version be changed (for example to another major release - 4
or 6) or is it fixed and not backward-compatible?

Sorry for the many questions. If there is documentation regarding this
please relate it, I will gladly read it myself.

Regards,
Vassil