Hi,

on activation of the sitebuilder bundle I would like to copy a folder to sling_home and mount it as a FS Resource.

It is used for example to contain the frontend packages (npm, github,...) and as they can get updated at runtime the FS folder should be mounted to the repo.

If there is no API for copying things to sling_home I would simply do that on my own but whats a bit more important is, that I haven't found an API for mounting a FS Resource. Of course I could send a post request to the config manager like 'AbstractBundleInstallMojo().addConfiguration()' does. But my code already runs in the same VM so this is too much overhead in my opinion. It would be good to call the FileMonitor directly but it's in an 'internal' package which is marked private.
Is there an other API that I've missed?

Best,

Sandro

Reply via email to