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

"gradlew buildLang" fails if launched from a parent directory and not from inside a module

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 Beta 1
    • Fix Version/s: 7.0.0 Beta 1
    • Component/s: Dev Tools
    • Labels:
      None

      Description

      Steps to reproduce the problem:

      1. Go to liferay-portal/modules/apps
      2. Run ../../gradlew buildLang

      The following error is thrown:

      Configuration on demand is an incubating feature.
      :apps:background-task-web:buildLang
      Exception in thread "main" java.nio.file.NoSuchFileException: src/main/resources/content/Language.properties
       at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
       at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
       at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
       at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:520)
       at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
       at java.nio.file.Files.copy(Files.java:1227)
       at com.liferay.lang.builder.LangBuilder._copyProperties(LangBuilder.java:216)
       at com.liferay.lang.builder.LangBuilder.<init>(LangBuilder.java:164)
       at com.liferay.lang.builder.LangBuilder.main(LangBuilder.java:83)
      :apps:background-task-web:buildLang FAILED
      

        Attachments

          Activity

            People

            Assignee:
            andrea.digiorgi Andrea Di Giorgi (Inactive)
            Reporter:
            andrea.digiorgi Andrea Di Giorgi (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:
              5 years, 22 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 Beta 1