I need to define some custom properties in an hook (e.g. myhookname.myproperty
) and read them in my hook Java classes.
I know I can't create a custom property file (because it will be deploied in the hook's webapps dir, but hook will "live" in the ROOT context)... so the only idea seems to add new properties in portal-ext... But, in this way, the hook deploy can't be consistent (because it needs for a modification of portal-ext).
What is the Liferay way to do this? Do you have other idea to achieve my needs?
Thanks