3
votes

I have been reading the liferay documentation about migrating from liferay 6 to liferay 7 (https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/from-liferay-6-to-liferay-7). I have a basic liferay 6.1.2 application bundle with tomcat that contains a few portlets and all I need is to make it work the same way, without using any new feature (OSGI and all) with liferay 7.

Do you know where I could find a list of new configuration files and a list of the ones that have been deleted?

Is there a place where I can find the new dependencies required by liferay 7 for each of my portlets?

I used the liferay tool to generate the new theme so that's a start...

Any links or advices would be appreciated,

Thanks

EDIT :

I can start liferay 7 with the portlet inside the /deploy. I get no errors, only info like "portlet1.war does not have a WEB-INF/liferay-plugin-package.xml or liferay-plugin-package.properties." The localhost_host_access.log show a few 404 but not as an error... I really dont know how to proceed to have information (errors, logs,....) to make this work : my portal is still empty.

2

2 Answers

4
votes

You can follow the upgrade procedure (read through the link you've provided) and it should be able to

  • upgrade your database
  • upgrade parts of your code

If you are using Liferay IDE or Developer Studio there is code migration wizard. It will not solve all issues but will examine your code and advise you how to change things it can not change itself. This recording in an year old but it will give you an idea of what IDE does (probably more by now). It uses a database of breaking changes, most of which is published here so you can check what is relevant to you.

0
votes

I do not recommend you do that. First migrates from 6.1 to 6.2 and after 6.2 to 7 or you can redo the entire portal, from Liferay we do not recommend making such low migrations. I recommend you look at the community and OSGI ...