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

Change packaging structure and default value for "resource.repositories.root" in portal.properties

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Previously, "resource.repositories.root" defaulted to the ${user.home}/liferay. That was good because it separated out Liferay's data from the app server. But it was bad because it made it difficult to run multiple different versions of Liferay one one server.

      We now default "resource.repositories.root" relative to the app server's directory. If it cannot determine the app server's directory, it then defaults to the old behavior of using the user's home directory.

      We also moved a few directories around to make things more consistent. For example:

      ${resource.repositories.root}/lucene is now ${resource.repositories.root}/data/lucene
      ${resource.repositories.root}/jackrabbit is now ${resource.repositories.root}/data/jackrabbit

      Hypersonic files are no longer in the bin directory, but are now in ${resource.repositories.root}/data/hsql

      The deploy directory is still ${resource.repositories.root}/deploy

      The document library directory (for those who dont' use Jackrabbit but our default impl) was moved from ${resource.repositories.root}/document_library to ${resource.repositories.root}/data/document_library

      And tomcat is now in:

      ${resource.repositories.root}/tomcat-5.5.27

      Summary:

      ${resource.repositories.root}/data
      ${resource.repositories.root}/data/hsql
      ${resource.repositories.root}/data/document_library
      ${resource.repositories.root}/data/jackrabbit
      ${resource.repositories.root}/data/lucene
      ${resource.repositories.root}/deploy
      ${resource.repositories.root}/tomcat-5.5.27 -> this changes depending on the bundle you download.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            Anonymous
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              12 years, 7 weeks, 1 day ago

                Packages

                Version Package
                5.2.0