Build Problem on macOS with OpenJDK 13 and Gradle 6.0-rc-1

Scott Palmer swpalmer at gmail.com
Thu Oct 24 17:42:23 UTC 2019


I’m getting this:

* What went wrong:
Execution failed for task ':swt:compileJava'.
> Could not resolve all files for configuration ':swt:compileClasspath'.
   > Could not find :org.eclipse.swt.cocoa.macosx.x86_64_3.105.3.v20170228-0512:.
     Searched in the following locations:
       - https://download.eclipse.org/eclipse/updates/4.6/R-4.6.3-201703010400/plugins/ivy.xml
     Required by:
         project :swt

Earlier on I see:

  module: project ':swt' (buildModule=NO)

so I’m not even sure why :swt:compileJava is running.. but it is.

This is with OpenJDK 13, and Gradle 6.0-rc-1.

I know the jump to Gradle 6.0 has not been officially made yet, but I also know it is coming for the JDK 13 support.

When I use OpenJDK 12 and gradlew the build mostly works.

Though even with OpenJDK 12 and gradlew the tests fail:

> Task :base:test

test.javafx.util.converter.LocalDateTimeStringConverterTest > toString_to_fromString_testRoundtrip[0] FAILED
    java.time.format.DateTimeParseException: Text '1985-01-12, 12:34 p.m.' could not be parsed, unparsed text found at index 19
        at java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2052)
        at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1877)
        at javafx.base/javafx.util.converter.LocalDateTimeStringConverter$LdtConverter.fromString(LocalDateTimeStringConverter.java:208)
        at javafx.base/javafx.util.converter.LocalDateTimeStringConverter.fromString(LocalDateTimeStringConverter.java:159)
        at test.javafx.util.converter.LocalDateTimeStringConverterTest.toString_to_fromString_testRoundtrip(LocalDateTimeStringConverterTest.java:131)

5222 tests completed, 1 failed, 27 skipped


Regards,

Scott




More information about the openjfx-dev mailing list