JFX build issue

K, Dhevendran (MSDU) dk at hp.com
Mon Aug 26 22:36:46 PDT 2013


I compiled with the option '-PCOMPILE_WEBKIT=true'. Now I am getting the new set of errors

Thanks & Regards
Dhevendran K
-----Original Message-----
From: Vasiliy Baranov [mailto:vasiliy.baranov at oracle.com] 
Sent: Monday, August 26, 2013 8:02 PM
To: K, Dhevendran (MSDU)
Cc: openjfx-dev at openjdk.java.net
Subject: Re: JFX build issue

On 23.08.2013 20:54, K, Dhevendran (MSDU) wrote:
> Now, I am facing the new issue as attached
> apps:experiments:3DViewer:assemble
> :apps:experiments:Modena:compileJava
> [ant:javac] 
> C:\dheva\JavaFX_1_8\JavaFX_SRC\myfx8\rt\apps\experiments\Modena\src\main\java\modena\SamplePage.java:91: error: package javafx.scene.web does not exist [ant:javac] import javafx.scene.web.HTMLEditor;
> [ant:javac]                        ^

Your build artifact (jfxrt.jar) is missing javafx.scene.web.* classes. 
You need to either provide the binary stub to the gradle script with '-PBINARY_STUB=/path/to/jfxrt.jar' or build modules/web code yourself with '-PCOMPILE_WEBKIT=true', see e.g. 
https://javafx-jira.kenai.com/browse/RT-32289 .

-- Vasiliy

> [ant:javac] C:\dheva\JavaFX_1_8\JavaFX_SRC\myfx8\rt\apps\experiments\Modena\src\main\java\modena\SamplePage.java:468: error: cannot find symbol
> [ant:javac]                 new HTMLEditor() {{
> [ant:javac]                     ^
> [ant:javac]   symbol:   class HTMLEditor
> [ant:javac]   location: class SamplePage
> [ant:javac] C:\dheva\JavaFX_1_8\JavaFX_SRC\myfx8\rt\apps\experiments\Modena\src\main\java\modena\SamplePage.java:474: error: cannot find symbol
> [ant:javac]                 withState(new HTMLEditor() {{
> [ant:javac]                               ^
> [ant:javac]   symbol:   class HTMLEditor
> [ant:javac]   location: class SamplePage
> [ant:javac] Note: Some input files use or override a deprecated API.
> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> [ant:javac] 3 errors
> :apps:experiments:Modena:compileJava FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':apps:experiments:Modena:compileJava'.
>> Compile failed; see the compiler error output for details.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
> Total time: 35 mins 13.756 secs
> Thanks & Regards
> Dhevendran K

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gradle.txt
Url: http://mail.openjdk.java.net/pipermail/openjfx-dev/attachments/20130827/c505e639/gradle-0001.txt 

More information about the openjfx-dev mailing list