The source of JcrInstall is at http://svn.apache.org/repos/asf/incubator/sling/whiteboard/jcrinstall
Regards Felix Am Dienstag, den 04.12.2007, 12:52 +0100 schrieb Felix Meschberger: > 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
