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

Error compiling generated web classes with gradle 2.8

XMLWordPrintable

        We get a compilation error in :web:compileGenerated task using gradle 2.8 when building the JavaFX sdk with "-PCOMPILE_WEBKIT=true", which builds the native webkit classes. The reason for this that the classpath used to compile the generated classes does not include the classes from the web project itself. It looks like we are relying on a behavior of earlier versions of gradle, that included them without our having to specify them.

        The fix will be to explicitly specify the web classes on the classpath when compiling the generated sources.

              kcr Kevin Rushforth
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: