Netcentric / vault-upgrade-hook

Jackrabbit FileVault Install Hook to perform additional actions during package installation
Eclipse Public License 1.0
19 stars 13 forks source link

Support runmode specific execution #38

Closed buuhuu closed 5 years ago

buuhuu commented 5 years ago

We have a scenario where we have this hook used in a package that is installed by OsgiInstaller. Basically the package containing the hook is installed into /apps/somewhere/install.author and picked up by the OsgiInstaller. This approach we choose as we have to run the installed hook only on author.

Unfortunately this doesn't work and the install hook runs into an exception (ClassLoader issue reported separately).

To achieve the same but not depending on OsgiInstaller I propose an enhancement which allows to execute specific scripts on a defined runmode only.