留言板
Bug or feature?
When I add a hook into "deploy" folder, if the hook already exist in "webapps" folder, it adds its content to the "ROOT" folder. Thats intentional or a bug?
Hi Alberto Eles Fernandez,
When you deploy hook whichever jsps it contains are copied to ROOT/html/.... and thus you can customize Liferay's Out of Box features.
This is not bug.
Thanks,
Pankaj
When you deploy hook whichever jsps it contains are copied to ROOT/html/.... and thus you can customize Liferay's Out of Box features.
This is not bug.
Thanks,
Pankaj
Alberto Eles Fernandez:
When I add a hook into "deploy" folder, if the hook already exist in "webapps" folder, it adds its content to the "ROOT" folder. Thats intentional or a bug?
Well, if you only see that on secondary deploy of the hook, it would be a bug. Should happen for all hook deployments...
JSP hooks are deployed by a) making a backup of the JSP file being replaced by the hook and b) copy the hooked JSP into the ROOT war. This allows the hook to be undeployed and restores the original JSP.
So upon first deployment you should see this activity. If you're not seeing it until the second deployment, then it may be a bug.