On 2/18/10 3:30 PM, Csakany Robert wrote: > Ok, thanks for the idea. > I've started analyzing the problem, and I've starting the initconfig bundle > for it in Felix project (It will utilize ConfigAdmin service as Justin > pointed) . It will check the MANIFEST.MF (Bundle-InitialConfig entry) for a > configured folder where the configurations will be stored in XML format. > > I think it's the half of the problem resolving, because if we wanna create > this MANIFEST entry have to extend the maven-bundle-plugin functionality > also. > Nah. You'd just do something like this:
<plugin> ... <artifactId>maven-bundle-plugin> ... <configuration> <instructions> <Bundle-InitialConfigurations>file</Bundle-InitialConfigurations> ... </instructions> </configuration> ... </plugin> > Am I correct? (Sorry for the lot of question, but I'm relatively new in this > OSGI world :) Welcome :) Justin > > Regards, > > Robert > > On Feb 18, 2010, at 9:11 PM, Bertrand Delacretaz wrote: > >> On Thu, Feb 18, 2010 at 6:01 PM, Justin Edelson <justinedel...@gmail.com> >> wrote: >>> On 2/18/10 11:58 AM, Csakany Robert wrote: >>>> Justin, Bertrand >>>> >>>> Thanks for the fast answer. I agree, it's a good idea to be the part of >>>> content loading mechanism, because I could make customer specific >>>> configuration bundles thats are included in maven-lauchpad-plugin. >>>> I'm starting to make a patch for this in the content-loader. >>> >>> Personally, I'd like to see this as a standalone bundle donated to the >>> Felix project. >> >> +1, this is of more general interest than the Sling-specific content loading. >> >> -Bertrand >