felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alin Dreghiciu <adreghi...@gmail.com>
Subject Re: Karaf features + Sigil launch
Date Tue, 06 Oct 2009 09:27:44 GMT
I do not want to compare the two formats so here fact about the "profile"
format: * profile format is the format that can be scanned by a composite
scanner (scan-composite:). Here is some more documentation:
* it can include any other provisioning specs so you can scan from karaf
features, simple text files containing bundles urls, maven poms, directories
containing bundles, zips containing jars, any bundle referenced by url.
* it can include references to another composite scanners.
* there are a bunch of such files in Pax Runner repository:
http://paxrunner.ops4j.org/space/Pax+Runner+profiles+list (
* the whole functionality about using this scanners is extracted out of pax
runner into pax scanner project

Now related to the part where you launch an osgi framework you may want to
take a look at pax runner eclipse plugin that allows you to start any OSS
framework / any version and we can discuss about any features you may need.

About install/update/uninstall bundles in the external running framework you
may want to look at Pax Exam RBC (remote bundle context) that we use it to
allow the install/uninstall of bundles from outside of the process (RMI) +
allows to make calls to services in the remote process. Again, if any
special needs, let me know.

About ivy is just a matter (I think) of implementing an url handler as we
did for maven. Actually we have an issue there to support it but yet there
was not requested.


On Tue, Oct 6, 2009 at 11:20 AM, David Savage <david.savage@paremus.com>wrote:

> Hi there,
> I'm currently looking into how to set up a launch configuration for
> Sigil development in the IDE and one idea that seems quite attractive
> is to reuse the Karaf features format to list the bundles that the
> user wishes to install in the framework. The use case I'm looking to
> solve is initial boot of an OSGi framework from the IDE with a pre
> configured set of bundles. Once the framework is running it will be
> possible to install and uninstall individual bundles via the IDE to
> allow for update of classes during debug. But this initial step allows
> us to boot a framework into a known state.
> Some areas that I'm a little hazy about...
> * Editor support for features files - is there any available plugins
> for Eclipse in this area?
> * Extensions to the karaf format to support sigil projects (ivy
> dependencies?)
> * Support for Karaf features from a remote process - how tied is the
> org/apache/felix/karaf/features/*.java code to a local framework? I
> think it makes sense drive this from an external process vs installing
> Karaf in the framework as this would allow us to debug Karaf. This
> would involve having a Karaf driver in the IDE that understands the
> Karaf features file format and uses it to make install and start
> commands into the external framework process.
> The other idea that sprang to mind was the pax runner profile format.
> Can anyone comment on the relative pros and cons of each format?
> Regards,
> Dave

Alin Dreghiciu
Software Developer
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.blogspot.com
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message