Hi, Am 20.11.2012 um 17:11 schrieb Darren:
>> 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. I appreciate your feedback. Thank you very much. And maybe we should review our decision to not have the "self-contained Web Console". So, here are my thoughts, why we don't have it at this point in time: * The WebConsole has to share some classes with some of the bundles. This is particularly the case for the JSON classes in org.json. So either we have a bundle exporting those classes or export them from the Web Console. Since providing the org.json classes is not a primary task of the Web Console, we import them instead of exporting them. Likewise for Commons IO and Commons FileUpload (see the uses directives on the Export-Package statement). * To deploy in resource constrained environments, it makes more sense to have smaller bundles and import and thus share as a much as possible. * In a pure OSGi way, this is also the better way to deploy ;-) In the interest of fast deployment, I suggest the Felix project revisits this and comes up with a webconsole-all bundle, which exports org.json, Commons IO and Commons FileUpload for ease of deployment. For more controlled, supported, or resource constrained we still have the default bundle, which only imports. WDYT ? Regards Felix --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

