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

Build properties are added to MANIFEST files

    Details

      Description

      When you build DXP with ant build parameters, the ones which start with an uppercase letter are added to most of the MANIFEST files. This is not really fortunate as not all build parameters should be visible after building the jars.

      Steps to reproduce (it's added to other jars too, it's just the easiest to reproduce this way):

      1. Go to util-bridges
      2. Run ant clean
      3. Run ant -DTestProperty=true jar
      4. Check the META-INF/MANIFEST.MF file in the newly build util-bridges.jar. It has this line:
      TestProperty: true

      It's most probably caused by the inherit="true" here: https://github.com/liferay/liferay-portal/blob/master/build-common-java.xml#L124

      The fix is not that easy as the <manifest-helper /> works by adding new properties to the project so switching off inherit would not include the necessary properties.

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              zsolt.balogh Zsolt Balogh
              Participants of an Issue:
              Recent user:
              Zsolt Balogh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                1 year, 12 weeks, 5 days ago

                Packages

                Version Package