留言板
Liferay portlet versioning
Hello,
we are planning to have multiple Liferay instances, which has set of certain portlet versions. E.g one Liferay instance has portlet X versions 1.0 - 2.0 and the second instance has portlet X versions 3.0 - 4.0. Also, admin is not able to use earlier versions in the second portal instance.
I'd like to know easiest way to handle portlet versioning in instances. Any suggestions?
Br,
Mika
we are planning to have multiple Liferay instances, which has set of certain portlet versions. E.g one Liferay instance has portlet X versions 1.0 - 2.0 and the second instance has portlet X versions 3.0 - 4.0. Also, admin is not able to use earlier versions in the second portal instance.
I'd like to know easiest way to handle portlet versioning in instances. Any suggestions?
Br,
Mika
David H Nebinger,修改在7 年前。
RE: Liferay portlet versioning
Liferay Legend 帖子: 14916 加入日期: 06-9-2 最近的帖子
Yeah, I'd avoid this kind of thing.
What you have are two different portlets, one for instance X and another for instance Y.
Don't try to get fancy w/ version handling nonsense, just see it as it is and keep things simple.
What you have are two different portlets, one for instance X and another for instance Y.
Don't try to get fancy w/ version handling nonsense, just see it as it is and keep things simple.
Hi Mika,
I don't disagree with making it as simple as possible, but if you really need to have different versions of portlets running in different Liferay instances I'd suggest that you take care of this outside Liferay. For example: in instance A you need version 2, so you checkout that version from your version control system (svn, git, whatever), compile it and copy it to instance A "deploy" folder. This can be achieved very simply with shell scripts or with something like Jenkins.
HTH
Fernando
I don't disagree with making it as simple as possible, but if you really need to have different versions of portlets running in different Liferay instances I'd suggest that you take care of this outside Liferay. For example: in instance A you need version 2, so you checkout that version from your version control system (svn, git, whatever), compile it and copy it to instance A "deploy" folder. This can be achieved very simply with shell scripts or with something like Jenkins.
HTH
Fernando
David H Nebinger,修改在7 年前。
RE: Liferay portlet versioning
Liferay Legend 帖子: 14916 加入日期: 06-9-2 最近的帖子
This only works if "instances" are separate servers; if they are two instances in the same Liferay server this is not going to work.