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

ServiceBuilder causes compilation problems in ext environment

    Details

      Description

      At revision 40499.

      Building services causes compilation problems in ext environment.

      scenario:
      1)build ext environment
      2) ant " build-services"

      Get the same problem as LPS-4642. Then get the following when running "ant deploy":

      Buildfile: /home/user/workspaces/project/ext/build.xml
      deploy:
      compile:
      jar:
      [jar] Building jar: /home/user/workspaces/project/ext/ext-service/ext-service.jar
      deploy:
      [copy] Copying 1 file to /home/user/workspaces/project/bundles/tomcat-6.0.18/lib/ext
      compile:
      [mkdir] Created dir: /home/user/workspaces/project/ext/ext-impl/classes
      [javac] Compiling 10 source files to /home/user/workspaces/project/ext/ext-impl/classes
      [javac] /home/user/workspaces/project/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:133: unreported exception com.ext.portlet.reports.NoSuchEntryException; must be caught or declared to be thrown
      [javac] return remove((String) primaryKey);
      [javac] ^
      [javac] /home/user/workspaces/project/ext/ext-impl/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistenceImpl.java:266: unreported exception com.ext.portlet.reports.NoSuchEntryException; must be caught or declared to be thrown
      [javac] return findByPrimaryKey((String) primaryKey);
      [javac] ^
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 2 errors

      BUILD FAILED
      /home/user/workspaces/project/ext/build-parent.xml:100: The following error occurred while executing this line:
      /home/user/workspaces/project/ext/ext-impl/build-parent.xml:69: .

      Compile failed; see the compiler error output for details.

      Total time: 9 seconds

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 13 weeks, 1 day ago

                Packages

                Version Package