Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M5
    • Fix Version/s: 7.0.0 M5
    • Component/s: Calendar
    • Labels:
      None

      Description

      Steps to Reproduce:

      1. go to /portlets/calendar-portlet/
      2. run ant clean war

      Expected Result:
      Calendar compiles

      Actual Result:
      Calendar fails to compile

      vicnate5$ ant clean war
      Buildfile: /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/build.xml
      
      clean:
         [delete] Deleting directory /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/classes
      
      war:
          [mkdir] Created dir: /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/classes
           [copy] Copying 8 files to /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/lib
           [copy] Copying 1 file to /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/tld
           [copy] Copying 5 files to /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/lib
           [copy] Copying 85 files to /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/classes
           [copy] Copied 37 empty directories to 24 empty directories under /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/classes
          [javac] Compiling 111 source files to /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/classes
          [javac] /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java:592: error: no suitable method found for addVocabulary(long,String,ServiceContext)
          [javac] 			assetVocabulary = assetVocabularyLocalService.addVocabulary(
          [javac] 			                                             ^
          [javac]     method AssetVocabularyLocalService.addVocabulary(long,long,String,Map<Locale,String>,Map<Locale,String>,String,ServiceContext) is not applicable
          [javac]       (actual and formal argument lists differ in length)
          [javac]     method AssetVocabularyLocalService.addVocabulary(long,long,String,ServiceContext) is not applicable
          [javac]       (actual and formal argument lists differ in length)
          [javac] /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java:604: error: no suitable method found for addCategory(long,String,long,ServiceContext)
          [javac] 		return assetCategoryLocalService.addCategory(
          [javac] 		                                ^
          [javac]     method AssetCategoryLocalService.addCategory(long,long,String,long,ServiceContext) is not applicable
          [javac]       (actual and formal argument lists differ in length)
          [javac]     method AssetCategoryLocalService.addCategory(long,long,long,Map<Locale,String>,Map<Locale,String>,long,String[],ServiceContext) is not applicable
          [javac]       (actual and formal argument lists differ in length)
          [javac] Note: /home/vicnate5/liferay/liferay-plugins-master/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/util/CalendarBookingIndexer.java uses or overrides a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 2 errors
      
      BUILD FAILED
      /home/vicnate5/liferay/liferay-plugins-master/build-common.xml:3147: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      /home/vicnate5/liferay/liferay-plugins-master/build-common.xml:2647: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      /home/vicnate5/liferay/liferay-plugins-master/build-common.xml:592: The following error occurred while executing this line:
      /home/vicnate5/liferay/liferay-plugins-master/build-common.xml:1027: The following error occurred while executing this line:
      /home/vicnate5/liferay/liferay-plugins-master/build-common.xml:900: Compile failed; see the compiler error output for details.
      

      Reproduced on:
      Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: abb732d6674b5b790288b8c83d607e3866ab2189.
      Plugins master GIT ID: 7cac89b9b83cdbb997e60da87523e74fac9b799a.

      I ran git clean -fdx from both portal and plugins directories before compiling and still got the same results

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 34 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 M5