Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74865

DB Upgrade Tool should be more maintainable by not hardcoding relative paths

    Details

    • Type: Feature Request
    • Status: Contributed Solution
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Priority Level:
      Low
    • Liferay Contributor's Agreement:
      Accept

      Description

      The AppServer class in the DB Upgrade Tool hardcodes the relative path for the application server directory and liferay home. As a consequence, if the DB Upgrade Tool jar is moved, this will break the tool out of the box by generating incorrect paths.

      https://github.com/liferay/liferay-portal/blob/master/modules/util/portal-tools-db-upgrade-client/src/main/java/com/liferay/portal/tools/db/upgrade/client/AppServer.java

      We should softcode these value if possible.

        Attachments

          Activity

            People

            • Assignee:
              team-devrel Team Developer Relations
              Reporter:
              albert.lee Albert Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package