You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Roy Teeuwen <ro...@teeuwen.be> on 2018/08/23 08:46:38 UTC

Removing zips from install folder

Hey guys,

We previously installed content packages by adding them to the sling-home/install folder, enabling the osgi installer to pick them up and install them. We would now want them to be installed by the jcr packagemanager rest api and clean up our install folder. In older versions of sling you could just turn down your sling and remove stuff from the install folder, but it seems when you do that now that it actually uninstalls the zips when you start up again. Any way of disabling this behaviour?

Thanks!
Roy

Re: Removing zips from install folder

Posted by Andres Bott <co...@andresbott.com>.
Hello,

I think this is intrinsic to the File Installer Provider,
one idea that comes to my mind is that you could try is to upload the 
packe into the repository prior to removing it from the install dir.

In this way osgi still has an candidate for that artifact.

Of course you could also add that feature ti File installer ;)

HTH
Andres

El 2018-08-23 10:46, Roy Teeuwen escribió:
> Hey guys,
> 
> We previously installed content packages by adding them to the
> sling-home/install folder, enabling the osgi installer to pick them up
> and install them. We would now want them to be installed by the jcr
> packagemanager rest api and clean up our install folder. In older
> versions of sling you could just turn down your sling and remove stuff
> from the install folder, but it seems when you do that now that it
> actually uninstalls the zips when you start up again. Any way of
> disabling this behaviour?
> 
> Thanks!
> Roy