RE: Problems with migrating liferay 6.2 portlets to 7.2 workspace

Rafal Pydyniak, modified 5 Years ago. New Member Posts: 4 Join Date: 12/6/16 Recent Posts
Hi,
I'm having some problems with migrating 6.2 portlet project to 7.2 workspace. I've tried using upgrade planner but when I get to the step "Migrate existing plugins to workspace" and I try to select my portlet project I get this error
In this tutorialhttps://portal.liferay.dev/docs/7-2/tutorials/-/knowledge_base/t/migrating-plugins-sdk-projects-to-liferay-workspace#migrating-existing-plugins-to-workspace
I've seen that if I project is migrated to maven (which is not my case - I try to migrate to gradle) then it need to be done manually. Even though I'm migrating to gradle I'm fine with doing that manually but I can't really find and reference how to do that.There is something about copying project to wars but then what? I can't find any informations about that.If that matters I have 100+ portlets inside that one portlet project. Each of them is defined in portlet.xml and liferay-portlet.xml. For each of the portlets I have defined view (written in Primefaces) which then calls backing bean (you know the one with @ManagedBean and for example @ViewScoped annotations). The beans call other classes and perform further logic.I'm also using service builder for managing my database entities (defined in service.xml)
I'd be grateful for pointing me what should I read or watch or just giving me some tips how to start the migration process
Best regards
thumbnail
Neil Griffin, modified 5 Years ago. Liferay Legend Posts: 2655 Join Date: 7/27/05 Recent Posts
Moved to Liferay Faces - English
thumbnail
Neil Griffin, modified 5 Years ago. Liferay Legend Posts: 2655 Join Date: 7/27/05 Recent Posts
Hi Rafal,

I apologize for taking so long to get back to you. Do you still need help with this issue? Are your JSF portlet projects based on the 6.2 Ant-based Plugins SDK or on Maven? If based on the Ant-based Plugins SDK then you will need to migrate to Maven or Gradle. If based on Maven, then it will probably be easiest for you to stay with Maven. Please let me know.
Kind Regards,
Neil