Hi all, After presenting at Adaptto about OSGi subsystems [1] the idea came about to maybe add an alternative launchpad distribution that is basically an OSGi subsystem archive (.esa) file. This would allow you to deploy Sling into an existing OSGi framework in one shot if that framework has OSGi subsystem support.
I tried to create a basic subsystem from the existing launchpad configuration, but I have to admit that my approach is pretty naive and was just based on repackaging the existing launchpad. You can see my attempt here [2] and I am not at all suggesting that we continue that. It might be better to do something with the esa-maven-plugin [3] instead. The script at [2] does generate an .esa file, but it didn't really work for me. After copying all the sling.properties to the normal Felix config.properties everything resolves, but going to http://localhost:8080 gives me a 403 instead of the default launching page. So I guess my attempt is more or less a failed experiment, but I'm wondering if other people might have a better idea on how to create a subsystem archive for Sling? Cheers, David [1] http://adapt.to/2014/en/schedule/using-osgi-subsystems-with-apache-felix.html [2] https://github.com/bosschaert/sling/commit/9782d38aa131d84388ff0fdba6e4834d83d7db1a [3] http://aries.apache.org/modules/esamavenpluginproject.html
