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

02/08/13 - Calendar plugin fails to compile

    Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:
      1. Go to liferay-plugins/portlets/calendar-portlet
      2. Run ant clean war.

      merge:
          [mkdir] Created dir: H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\classes
           [copy] Copying 8 files to H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\lib
      
      compile:
      
      compile-java:
      
      jar:
           [copy] Copying 1 file to H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\lib
           [copy] Copying 1 file to H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\tld
           [copy] Copying 5 files to H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\lib
      
      compile-java:
           [copy] Copying 78 files to H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\classes
           [copy] Copied 29 empty directories to 16 empty directories under H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\classes
          [javac] Compiling 74 source files to H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\classes
          [javac] ----------
          [javac] 1. ERROR in H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\src\com\liferay\calendar\portlet\CalendarPortlet.java (at line 630)
          [javac] 	if (!PortalUtil.isRSSFeedsEnabled()) {
          [javac] 	                ^^^^^^^^^^^^^^^^^
          [javac] The method isRSSFeedsEnabled() is undefined for the type PortalUtil
          [javac] ----------
          [javac] 2. ERROR in H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\src\com\liferay\calendar\portlet\CalendarPortlet.java (at line 631)
          [javac] 	PortalUtil.sendRSSFeedsDisabledError(
          [javac] 	           ^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] The method sendRSSFeedsDisabledError(ResourceRequest, ResourceResponse) is undefined for the type PortalUtil
          [javac] ----------
          [javac] 3. ERROR in H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\src\com\liferay\calendar\portlet\CalendarPortlet.java (at line 652)
          [javac] 	resourceRequest, "type", RSSUtil.FORMAT_DEFAULT);
          [javac] 	                                 ^^^^^^^^^^^^^^
          [javac] FORMAT_DEFAULT cannot be resolved or is not a field
          [javac] ----------
          [javac] 4. ERROR in H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\portlets\calendar-portlet\docroot\WEB-INF\src\com\liferay\calendar\portlet\CalendarPortlet.java (at line 656)
          [javac] 	resourceRequest, "displayStyle", RSSUtil.DISPLAY_STYLE_DEFAULT);
          [javac] 	                                         ^^^^^^^^^^^^^^^^^^^^^
          [javac] DISPLAY_STYLE_DEFAULT cannot be resolved or is not a field
          [javac] ----------
          [javac] 4 problems (4 errors)
      
      BUILD FAILED
      H:\hudson\jobs\portal-ee-6.1.x\workspace\ee-6.1.x\portal-web\test-ant-scripts\build-test-unit-plugins.xml:32: The following error occurred while executing this line:
      H:\hudson\jobs\portal-ee-6.1.x\workspace\ee-6.1.x\build-test-unit.xml:41: The following error occurred while executing this line:
      H:\hudson\jobs\portal-ee-6.1.x\workspace\ee-6.1.x\build-test-plugins.xml:215: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build.xml:11: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build.xml:62: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build-common-plugins.xml:50: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build-common-plugins.xml:75: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build-common-plugins.xml:86: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build-common-plugins.xml:56: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build-common-plugin.xml:692: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-ee-6.1.x\workspace\ee-6.1.x\build-common.xml:95: Compile failed; see the compiler error output for details.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shinn.lok Shinn Lok (Inactive)
              Reporter:
              robert.srisamang Robert Srisam-ang (Inactive)
              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:
                8 years, 43 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.0 CE M4