Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-4867

Add upgrade tool support for migrating .cfg to .config

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9 M2
    • Component/s: Upgrade Planner
    • Labels:
      None

      Description

      We need to add a file migrator to mark all .cfg files and automatically rename and convert them to .config version.

      https://issues.liferay.com/browse/LPS-118855

      Here is the specification of the .config format that we should be following: https://sling.apache.org/documentation/bundles/configuration-installer-factory.html#configuration-files-config-1

      One big issue will be comments. In the .config file format only one comment is allowed and that is the first line. No multiline or comments in the middle of the file (or end of a line).

      If there are comments in the original file, we could extract those comments to another file <configFileName>.txt and in the new .config file add a singleline comment at the top of the file that mentions the file that the <configFileName>.txt has been created

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.jiang Simon Jiang
              Reporter:
              gregory.amerson Gregory Amerson
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                33 weeks, 1 day ago

                  Packages

                  Version Package
                  3.9 M2