Forums de discussion
Deploying in war
Chris Jurado, modifié il y a 6 années.
Deploying in war
Junior Member Publications: 66 Date d'inscription: 16/07/10 Publications récentes
So I noticed that I can deploy my JSF portlets to Liferay 7 by either dropping it into the /deploy folder or in the /osgi/war folder. Is there a preferred way to do it, or is the /deploy folder only a legacy option?
Thanks
Thanks
Jorge Díaz, modifié il y a 6 années.
RE: Deploying in war
Liferay Master Publications: 753 Date d'inscription: 09/01/14 Publications récentes
The preferred way to deploy everything (war, osgi jars and lpgks) is to copy the file to ${liferay-home}/deploy folder
Chris Jurado, modifié il y a 6 années.
RE: Deploying in war
Junior Member Publications: 66 Date d'inscription: 16/07/10 Publications récentes
Okay thanks.
Just out of curiosity, what's the difference? Thanks!
Just out of curiosity, what's the difference? Thanks!
Jorge Díaz, modifié il y a 6 années.
RE: Deploying in war
Liferay Master Publications: 753 Date d'inscription: 09/01/14 Publications récentes
Liferay deployer monitors deploy folder and does different actions depending on file type.
In the specific case of war files, they are copied to /osgi/war folder by deployer monitor, but I don't know deployer is doing additional actions or not.
So I think it is safer to deploy to /deploy folder in order to trigger deployer logic.
In the specific case of war files, they are copied to /osgi/war folder by deployer monitor, but I don't know deployer is doing additional actions or not.
So I think it is safer to deploy to /deploy folder in order to trigger deployer logic.
Chris Jurado, modifié il y a 6 années.
RE: Deploying in war
Junior Member Publications: 66 Date d'inscription: 16/07/10 Publications récentes
Thanks very much!
Vernon Singleton, modifié il y a 6 années.
RE: Deploying in war
Expert Publications: 315 Date d'inscription: 14/01/13 Publications récentes
Hi Chris,
Putting artifacts in $LIFERAY_HOME/deploy is a legacy convention and backwards-compatible convenience, but it is fine to copy directly to the $LIFERAY_HOME/osgi/war folder which has the small benefit of not incurring the copy/move operation from $LIFERAY_HOME/deploy.
Hope that helps,
Vernon
Putting artifacts in $LIFERAY_HOME/deploy is a legacy convention and backwards-compatible convenience, but it is fine to copy directly to the $LIFERAY_HOME/osgi/war folder which has the small benefit of not incurring the copy/move operation from $LIFERAY_HOME/deploy.
Hope that helps,
Vernon
Chris Jurado, modifié il y a 6 années.
RE: Deploying in war
Junior Member Publications: 66 Date d'inscription: 16/07/10 Publications récentes
Makes sense,
Thanks!
Thanks!