Hi Karl, Am Dienstag, den 04.12.2007, 13:04 +0100 schrieb Karl Pauls: > This is really cool!
Thanks :-) > p.s.: Peter Kriens asked whether we at Felix would be interested in > his FileInstall bundle so maybe we could just merge the two at Felix? That would certainly be an option and an argument to make it available at Felix. Regards Felix > > On 12/4/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > Inspired by Peter Kriens' FileInstall [1] tool, I created JcrInstall. > > This tool works almost exactly as the original FileInstall with the > > following differences: > > > > (1) It operates on JCR repository > > (2) It uses JCR Observation instead of polling > > (3) It just has a single instance, thus supporting a single location > > only > > > > Other than that if works the same: > > > > * Storing JAR files installes contained bundles > > * Updating JAR files updates the bundles > > * Removing JAR files unsinstalls bundles > > * Storing or updated configuration files (extension is ".cfg") > > creates or updates ConfigurationAdmin configuration > > * Removed configuration files deletes configuration > > > > The full path of JAR files with a prefix of "jcrinstall:" is used as the > > Bundle location. The name (without the path and the .cfg extension) of > > configuration files is used to designate the configuration PID. The name > > is turned into factory and configuration PID in the same way as for > > FileInstall. > > > > I propose to add this to Sling. WDYT ? > > > > Alternatively, as it touches generic OSGi rather than Sling as a Web > > Application Framework I could imagine adding it to the Apache Felix > > project. WDYT ? > > > > Regards > > Felix > > > > [1] http://www.aqute.biz/Code/FileInstall > > > > > >
