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

Fix gradleTest task for gradle-plugins-wsdd-builder

    Details

    • Type: Task
    • Status: In Review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      > Task :sample-service:compileJava FAILED
      Deleting stale output file: P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\build\classes\java\main
      Deleting stale output file: P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\build\generated\sources\annotationProcessor\java\main
      Caching disabled for task ':sample-service:compileJava' because:
        Build cache is disabled
      Task ':sample-service:compileJava' is not up-to-date because:
        Executed with '--rerun-tasks'.
      All input files are considered out-of-date for incremental task ':sample-service:compileJava'.
      Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
      Compiling with JDK Java compiler API.
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooModelImpl.java:40: error: package com.liferay.petra.string does not exist
      import com.liferay.petra.string.StringPool;
                                     ^
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:24: error: package com.liferay.petra.string does not exist
      import com.liferay.petra.string.StringPool;
                                     ^
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:42: error: package com.liferay.petra.string does not exist
      import com.liferay.petra.string.StringPool;
                                     ^
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooModelImpl.java:323: error: cannot find symbol
      			return StringPool.BLANK;
      			       ^
        symbol:   variable StringPool
        location: class FooModelImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooModelImpl.java:419: error: cannot find symbol
      			return StringPool.BLANK;
      			       ^
        symbol:   variable StringPool
        location: class FooModelImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooModelImpl.java:431: error: cannot find symbol
      			return StringPool.BLANK;
      			       ^
        symbol:   variable StringPool
        location: class FooModelImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooModelImpl.java:475: error: cannot find symbol
      			return StringPool.BLANK;
      			       ^
        symbol:   variable StringPool
        location: class FooModelImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooModelImpl.java:544: error: cannot find symbol
      			return StringPool.BLANK;
      			       ^
        symbol:   variable StringPool
        location: class FooModelImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:105: error: cannot find symbol
      			fooImpl.setUuid(StringPool.BLANK);
      			                ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:117: error: cannot find symbol
      			fooImpl.setUserName(StringPool.BLANK);
      			                    ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:138: error: cannot find symbol
      			fooImpl.setField1(StringPool.BLANK);
      			                  ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:155: error: cannot find symbol
      			fooImpl.setField5(StringPool.BLANK);
      			                  ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:193: error: cannot find symbol
      			objectOutput.writeUTF(StringPool.BLANK);
      			                      ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:208: error: cannot find symbol
      			objectOutput.writeUTF(StringPool.BLANK);
      			                      ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:218: error: cannot find symbol
      			objectOutput.writeUTF(StringPool.BLANK);
      			                      ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\model\impl\FooCacheModel.java:230: error: cannot find symbol
      			objectOutput.writeUTF(StringPool.BLANK);
      			                      ^
        symbol:   variable StringPool
        location: class FooCacheModel
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:225: error: cannot find symbol
      			else if (uuid.equals(StringPool.BLANK)) {
      			                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:311: error: cannot find symbol
      		msg.append(StringPool.CLOSE_CURLY_BRACE);
      		           ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:359: error: cannot find symbol
      		msg.append(StringPool.CLOSE_CURLY_BRACE);
      		           ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:448: error: cannot find symbol
      		else if (uuid.equals(StringPool.BLANK)) {
      		                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:584: error: cannot find symbol
      			else if (uuid.equals(StringPool.BLANK)) {
      			                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:663: error: cannot find symbol
      			msg.append(StringPool.CLOSE_CURLY_BRACE);
      			           ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:726: error: cannot find symbol
      			else if (uuid.equals(StringPool.BLANK)) {
      			                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:832: error: cannot find symbol
      			else if (uuid.equals(StringPool.BLANK)) {
      			                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:1028: error: cannot find symbol
      			else if (uuid.equals(StringPool.BLANK)) {
      			                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:1122: error: cannot find symbol
      		msg.append(StringPool.CLOSE_CURLY_BRACE);
      		           ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:1175: error: cannot find symbol
      		msg.append(StringPool.CLOSE_CURLY_BRACE);
      		           ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:1269: error: cannot find symbol
      		else if (uuid.equals(StringPool.BLANK)) {
      		                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:1411: error: cannot find symbol
      			else if (uuid.equals(StringPool.BLANK)) {
      			                     ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:1666: error: cannot find symbol
      		msg.append(StringPool.CLOSE_CURLY_BRACE);
      		           ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:1714: error: cannot find symbol
      		msg.append(StringPool.CLOSE_CURLY_BRACE);
      		           ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:2493: error: cannot find symbol
      			query.append(StringPool.COMMA);
      			             ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java:2498: error: cannot find symbol
      		query.append(StringPool.CLOSE_PARENTHESIS);
      		             ^
        symbol:   variable StringPool
        location: class FooPersistenceImpl
      Note: P:\project\m\portal\modules\sdk\gradle-plugins-wsdd-builder\build\gradleTest\smoke\5.6.4\sample-service\src\main\java\com\example\sample\service\persistence\impl\FooPersistenceImpl.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      33 errors
      :sample-service:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.488 secs.
      
      FAILURE: Build failed with an exception.
      

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              peter.shin Peter Shin
              Engineering Assignee:
              Peter Shin
              Recent user:
              Tomáš Polešovský
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package