NOTE: This article is an INTERNAL article and is not visible to customers, currently. Please only link this article in internal comments, but not public comments.
Issue
- How do I automatically upgrade a 6.2 Maven theme to be a 7.x Maven theme?
Environment
- Liferay DXP 7.0+
Resolution
- There is no automated process to perform the upgrade by taking advantage of the Theme Generator capabilities, below is an alternative way to complete the requirement:
Blade can be used to convert the 6.2 theme to a gulp project. Here's an article for that: Upgrading Your Theme from Liferay Portal 7.0 to 7.2
Once the blade convert command finishes and the project is converted to gulp, it will be up to the developers to fix up their theme to make sure it deploys on 7.2 - Into specific, here are the steps:
blade create -t newTheme -v 7.2 -b maven
- Copy over everything in src/main/webapp from the 6.2 theme to the newly created theme
-
mvn verify
(this should build the theme) otherwise, it should build the same way as in 6.2
Additional Information