You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall" <he...@ungoverned.org> on 2008/08/01 22:18:46 UTC
OSGi R4.1 API
In an effort to break things before the weekend, I just committed a
patch to upgrade org.osgi.core to the R4.1 API. :-)
This changed required that I add some needed stub methods to the framework.
I built the trunk from scratch (i.e., deleted my maven repo) and
everything worked fine. I also ran the build against the TCK and all of
the normal tests passed. So, I think we are ok, but your mileage may vary.
Please let me know if you run into any difficulties.
We will try to address updated org.osgi.compendium when Christian comes
back, since he already started the process.
-> richard
Re: OSGi R4.1 API
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Excellent. Thanks for the feedback.
-> richard
Roger Martin wrote:
> Enjoy the rest of the weekend, guys. As a layman( as in not in the guru
> clergy) I svn checked out over top of previous working copy and then did a
> mvn -U clean install. After resetting my config.properties I could run new
> and old profiles with Felix, no problem.
>
>
Re: OSGi R4.1 API
Posted by Roger Martin <wa...@gmail.com>.
Enjoy the rest of the weekend, guys. As a layman( as in not in the guru
clergy) I svn checked out over top of previous working copy and then did a
mvn -U clean install. After resetting my config.properties I could run new
and old profiles with Felix, no problem.
Re: OSGi R4.1 API
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Christian van Spaandonk wrote:
>
> 1. Activator.java -
> felixtrunk/examples/extenderbased.host/src/main/java/org/apache/felix/example/extenderbased/host
>
> 2. Activator.java -
> felixtrunk/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host
>
> 3. config.properties.core - felixtrunk/mosgi/doc
> 4. config.properties.jmxconsole - felixtrunk/mosgi/doc
> 5. config.properties.upnp - felixtrunk/upnp/doc
> 6. config.properties - felixtrunk/installers/src/main/installers
> 7. config.properties - felixtrunk/main/conf
> 8. config.properties - felixtrunk/main/src/main/resources
> 9. default.properties - felixtrunk/main/src/main/resource
>
I don't think (1) and (2) are really an issue here, since they just suck
in Service Tracker from their dependency on main. I think (6) is out of
date in general, but I copied the new config.properties file from main
to it. Then (7) is not an issue since it is just copied from (8) and I
have edited both (8) and (9).
So, that just leaves (3), (4), and (5).
-> richard
>
> - Christian van Spaandonk
Re: OSGi R4.1 API
Posted by Christian van Spaandonk <ch...@luminis.nl>.
Richard S. Hall wrote:
> In an effort to break things before the weekend, I just committed a
> patch to upgrade org.osgi.core to the R4.1 API. :-)
>
> This changed required that I add some needed stub methods to the
> framework.
>
> I built the trunk from scratch (i.e., deleted my maven repo) and
> everything worked fine. I also ran the build against the TCK and all
> of the normal tests passed. So, I think we are ok, but your mileage
> may vary.
>
> Please let me know if you run into any difficulties.
>
> We will try to address updated org.osgi.compendium when Christian
> comes back, since he already started the process.
>
> -> richard
Nice! I just committed the updated compendium bundle. I also built the
trunk from scratch and all seems fine. Most changes in the compendium
are additions so the impact should be minimal. One package changed it's
version so a few dependencies may have to be updated in the future to
reflect the new version. It concerns the org.osgi.util.tracker package
being updated from 1.3.2 to 1.3.3. The following locations reference the
old package version, I did not update these:
Activator.java -
felixtrunk/examples/extenderbased.host/src/main/java/org/apache/felix/example/extenderbased/host
Activator.java -
felixtrunk/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host
config.properties.core - felixtrunk/mosgi/doc
config.properties.jmxconsole - felixtrunk/mosgi/doc
config.properties.upnp - felixtrunk/upnp/doc
config.properties - felixtrunk/installers/src/main/installers
config.properties - felixtrunk/main/conf
config.properties - felixtrunk/main/src/main/resources
default.properties - felixtrunk/main/src/main/resource
- Christian van Spaandonk