> I wanted to have a play with the Felix Web Console. The documentation > describes *full* and *bare* builds and I tried to find a full build for the > latest (4.0.0, I think) from felix downloads and also maven central.
I'm new to OSGi and wanted to install Web Console 4.0.0 just to see what it did initially. As I couldn't get 4.0.0 to work (without extra dependencies) I just downloaded 3.1.8 to experiment with. From the perspective of a newcomer, it's quite a painstaking process understanding and then locating bundles to satisfy dependencies. While I can appreciate it's not always ideal, having a download that 'just works' is very helpful to begin with. Whether this is useful to others (or even 'correct'), I don't know, but I tweaked the 4.0.0 pom (based on 3.8.1) to create a single 4.0.0 bundle that can be installed on its own. 3.8.1 project - http://archive.apache.org/dist/felix/org.apache.felix.webconsole-3.1.8-project.tar.gz 4.0.0 project - http://mirror.lividpenguin.com/pub/apache//felix/org.apache.felix.webconsole-4.0.0-source-release.tar.gz In the pom.xml from 4.0.0, update the <Import-Package> section; <Import-Package> org.osgi.service.metatype;resolution:=optional, javax.servlet.*;version=2.4, <!-- taken from 3.1.8 --> org.apache.felix.scr;version=1.0;resolution:=optional, org.osgi.service.http, org.apache.felix.shell; org.osgi.service.*;resolution:=optional, javax.portlet;resolution:=optional, * </Import-Package> and then <Embed-Dependency>; <Embed-Dependency> org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**, org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**, org.osgi.compendium;inline=org/osgi/service/metatype/**, <!-- taken from 3.1.8 --> json, commons-fileupload, commons-io </Embed-Dependency> 'mvn clean package' will build an all in one jar bundle using the new pom.xml Thanks, Darren --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

