3

I want to upgrade a liferay 6.2 theme into liferay DXP theme. Problem is that my existing theme is Maven based. So it shows error when i try to import in theme generators:

I use yo liferay-theme:import and absolute path of my theme, once press enter, it says : "your-theme" doesn't appear to be a theme in the SDK. I want to migrate it to theme generators then upgrade. what to do?

designershyam
  • 83
  • 1
  • 8

1 Answers1

1

The importer is intended to work with the ant-based plugin SDK. You could convert your theme into 6.2 Plugin SDK first, convert it with the tool to the Liferay workspace and then run the update.

This is quite a lot of work and the result will probably be disappointing. You are better off to start from scratch. Generate a new Liferay 7 theme and copy over bits and peases that you would like to reuse. Be careful with the CSS and templates.

Miroslav Ligas
  • 1,287
  • 8
  • 22
  • Hi Miroslav, Thanks for response. Actually converting existing theme into 7 is not a concern for me, I want to upgrade my bootstrap class in css and also upgrade template liferay 6.2 template objects/services to DXP. Once i create new theme, upgrade process doesn't work. I just wanted to know that, is there are any way to convert maven theme to dxp theme directly. Instead of making it ant build first then upgrade to dxp theme. – designershyam Nov 29 '17 at 12:11
  • It seems there is not a direct path. – Miroslav Ligas Nov 29 '17 at 12:58
  • Thanks for the heads up @MiroslavLigas – evaldeslacasa Dec 18 '20 at 17:02