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

On ext plugin redeployment the portal-ext.properties is not updated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: Projects > PluginsSDK
    • Labels:
      None
    • Environment:
      JDK 1.6.0_21, ANT 1.8.1, Liferay 6.0.5 bundle with Tomcat, SDK 6.0.5, IDE 1.1.0

      Description

      1.- Start Liferay

      2.- Create an ext plugin with Liferay IDE

      ext-plugin-name

      3.- Edit docroot/WEB-INF/ext-impl/src/portal-ext.properties adding next value:

      company.security.strangers=false

      4.- Build with ant

      ant

      The plugin is automatically deployed into Liferay

      5.- Restart Liferay

      6.- Edit docroot/WEB-INF/ext-impl/src/portal-ext.properties modifying next value:

      company.security.strangers=true

      7.- Build with ant

      ant

      The plugin is automatically deployed into Liferay

      8.- The new portal-ext.properties configuration is never applied to the portal (even rebooting)

      Cause ?
      -----------

      See next files at your application server:

      ./webapps/ext-plugin-name/WEB-INF/ext-web/docroot/WEB-INF/classes/portal-ext.properties
      ./webapps/ROOT/WEB-INF/classes/portal-ext.properties

      First file has the new portal-ext.properties values, but second file has the old values.
      Second is the configuration file applied to the portal.

        Attachments

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 31 weeks, 2 days ago

                Packages

                Version Package
                1.2