Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8290976

gradle clean sometimes fails if cached configuration is invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx17, jfx19
    • javafx
    • generic

      Expectation:
      gradle clean should always work

      Observed Result:
      occasionally, gradle clean fails with
      FAIL: Cannot find /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk

      even though the latest xcode command tools are installed.

      Further investigation revealed that the build dir got into a state that prevented any gradle target from executing successfully. Removing the build dir with the following command helped:

      rm -rf build

      Perhaps we can modify the gradle.build clean target so it skips the steps that fail.

            Unassigned Unassigned
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: