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

Source Formatting error for ReleaseInfo.java

    Details

      Description

      Testray

      Jenkins

          [java] java.lang.Exception: Found 1 formatting issues:
           [java] 1: ./portal-kernel/src/com/liferay/portal/kernel/util/ReleaseInfo.java expected:<...al String _BUILD = "[@release.info.build@";
           [java] 
           [java] 	private static final int _BUILD_NUMBER = GetterUtil.getInteger(_BUILD);
           [java] 
           [java] 	private static final String _CODE_NAME = "Cavanaugh";
           [java] 
           [java] 	private static final String _DATE = "@release.info.date@";
           [java] 
           [java] 	private static final String _NAME = "@release.info.name@";
           [java] 
           [java] 	private static final int _PARENT_BUILD_NUMBER = _BUILD_NUMBER;
           [java] 
           [java] 	private static final String _RELEASE_INFO_PREFIX = System.getProperty(
           [java] 		"liferay.release.info.prefix", StringPool.BLANK);
           [java] 
           [java] 	private static final String _RELEASE_INFO_SUFFIX = System.getProperty(
           [java] 		"liferay.release.info.suffix", StringPool.BLANK);
           [java] 
           [java] 	private static final String _VENDOR = "Liferay, Inc.";
           [java] 
           [java] 	private static final String _VERSION = "@release.info.version@";
           [java] 
           [java] 	private static final String _VERSION_DISPLAY_NAME =
           [java] 		"@release.info.version.display.name@]";
           [java] 
           [java] 	private static ...> but was:<...al String _BUILD = "[7410";
           [java] 
           [java] 	private static final int _BUILD_NUMBER = GetterUtil.getInteger(_BUILD);
           [java] 
           [java] 	private static final String _CODE_NAME = "Cavanaugh";
           [java] 
           [java] 	private static final String _DATE = "February 2, 2021";
           [java] 
           [java] 	private static final String _NAME = "Liferay Digital Experience Platform";
           [java] 
           [java] 	private static final int _PARENT_BUILD_NUMBER = _BUILD_NUMBER;
           [java] 
           [java] 	private static final String _RELEASE_INFO_PREFIX = System.getProperty(
           [java] 		"liferay.release.info.prefix", StringPool.BLANK);
           [java] 
           [java] 	private static final String _RELEASE_INFO_SUFFIX = System.getProperty(
           [java] 		"liferay.release.info.suffix", StringPool.BLANK);
           [java] 
           [java] 	private static final String _VENDOR = "Liferay, Inc.";
           [java] 
           [java] 	private static final String _VERSION = "7.4.10";
           [java] 
           [java] 	private static final String _VERSION_DISPLAY_NAME =
           [java] 		"7.4.10 EP1]";
           [java] 
           [java] 	private static ...>
           [java] 
           [java] 	at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:440)
           [java] 	at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:285)
      [stopwatch] [run.batch.test.action: 12:48.300 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:562: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/portal-impl/build.xml:706: Java returned: 1
            [get] Getting: http://test-1-7/job/test-portal-acceptance-upstream-dxp-batch(master)/AXIS_VARIABLE=0,label_exp=!master/6337//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20210130082449956.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20210130082449956.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/null36757966.properties
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            nicholas.kwon Nicholas Kwon
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              14 weeks, 3 days ago

                Packages

                Version Package
                Master