Hi Jeremias,

On Tue, Oct 4, 2011 at 6:26 PM, Jeremias Maerki <d...@jeremias-maerki.ch> wrote:
> I've explained earlier what I'm looking around for. So I've been
> thinking about an "AutoDeploy" bundle which reuses FileInstall's Scanner
> class that oversees a local file system folder.
>
> Whenever a local artifact is added, updated or removed, it synchronizes
> it with the ArtifactRepository. When an artifact is added or removed it
> is also added or removed from a group/feature that's configurable. After
> each synchronization, the changes are committed....

Note that we're doing something very similar in Sling, where bundles
and other artifacts found in the JCR repository or filesystem are
automatically installed, upgraded or uninstalled. This is based on a
modular installer (which takes care of OSGi operations) and providers
(which detect and supply new or modified resources).

You might find some possible synergies or reusable components -
there's some (out of date as far as I can tell) documentation at [1]
and the code and integration tests are at [2].

Maybe this helps...
-Bertrand

[1] 
http://sling.apache.org/site/jcr-installer-jcrjcrinstall-and-osgiinstaller.html
[2] http://svn.apache.org/repos/asf/sling/trunk/installer

Reply via email to