Removing zips from install folder

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Removing zips from install folder

Roy Teeuwen
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
Reply | Threaded
Open this post in threaded view
|

Re: Removing zips from install folder

Andres Bott
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