Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3336

filter misleading error message in error log when gradle build fail

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: Someday
    • Component/s: Code
    • Labels:
      None

      Description

      e.g.:

      org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.14.1-bin.zip'.
      at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)
      at .....

      Caused by: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':modules:opensesame:compileJava'.
      at org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:74)
      .......

       

      we should only show the second block "compileJava" ,the first error message  misleads users thinking that the distribution is the problem.

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            andy.wu Andy Wu (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              4 years, 17 weeks ago

                Packages

                Version Package
                Someday