Details

      Description

      The current 6.1.x GitHub branch will not build. There is a missing import in portal-impl/src/com/liferay/portlet/documentlibrary/util/AudioProcessorImpl.java. It need to import java.util.Properties. Below is the error I get when I build on the 6.1.x branch:

      compile-java:
          [javac] Compiling 3787 source files to /Users/dblessing/development/liferay-portal/portal-impl/classes
          [javac] ----------
          [javac] 1. ERROR in /Users/dblessing/development/liferay-portal/portal-impl/src/com/liferay/portlet/documentlibrary/util/AudioProcessorImpl.java (at line 330)
          [javac] 	new LiferayAudioProcessCallable(
          [javac] 						ServerDetector.getServerId(),
          [javac] 						PropsUtil.get(PropsKeys.LIFERAY_HOME),
          [javac] 						Log4JUtil.getCustomLogSettings(),
          [javac] 						srcFile.getCanonicalPath(), destFile.getCanonicalPath(),
          [javac] 						containerType,
          [javac] 						PropsUtil.getProperties(
          [javac] 							PropsKeys.DL_FILE_ENTRY_PREVIEW_AUDIO, false));
          [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] The constructor AudioProcessorImpl.LiferayAudioProcessCallable(String, String, Map<String,String>, String, String, String, Properties) refers to the missing type Properties
          [javac] ----------
          [javac] 2. ERROR in /Users/dblessing/development/liferay-portal/portal-impl/src/com/liferay/portlet/documentlibrary/util/AudioProcessorImpl.java (at line 439)
          [javac] 	Properties audioProperties) {
          [javac] 	^^^^^^^^^^
          [javac] Properties cannot be resolved to a type
          [javac] ----------
          [javac] 3. ERROR in /Users/dblessing/development/liferay-portal/portal-impl/src/com/liferay/portlet/documentlibrary/util/AudioProcessorImpl.java (at line 447)
          [javac] 	_audioProperties = audioProperties;
          [javac] 	^^^^^^^^^^^^^^^^
          [javac] Properties cannot be resolved to a type
          [javac] ----------
          [javac] 4. ERROR in /Users/dblessing/development/liferay-portal/portal-impl/src/com/liferay/portlet/documentlibrary/util/AudioProcessorImpl.java (at line 461)
          [javac] 	_inputURL, _outputURL, _audioContainer, _audioProperties);
          [javac] 	                                        ^^^^^^^^^^^^^^^^
          [javac] Properties cannot be resolved to a type
          [javac] ----------
          [javac] 5. ERROR in /Users/dblessing/development/liferay-portal/portal-impl/src/com/liferay/portlet/documentlibrary/util/AudioProcessorImpl.java (at line 473)
          [javac] 	private Properties _audioProperties;
          [javac] 	        ^^^^^^^^^^
          [javac] Properties cannot be resolved to a type
          [javac] ----------
          [javac] 5 problems (5 errors)
      
      BUILD FAILED
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 41 weeks, 2 days ago