Reputation: 2568
I need to share a library (built in-house) between portlets and I prefer to put it in a common place instead of adding it as dependency to every portlet that need it because I want to update the library once. Can I build a hook or ext plugin that the portlets can refer to and access the library? I know that you can add it to the common library directory and add it to liferay-plugin-package.properties
for each portlet but the location depends on the application server. I want to know, there is a standard or cleaner way to do this? Thanks in advance.
Upvotes: 3
Views: 1255
Reputation: 7877
With the tomcat bundle, the common usage is to put these in the tomcat/lib/ext
folder.
There is one big drawback, every modification in this folder will require a server restart.
Upvotes: 6