RFR: 8267418: IntelliJ build and test of JavaFX does not work [v3]

Marius Hanl github.com+66004280+maran23 at openjdk.java.net
Wed Jun 2 07:11:55 UTC 2021


On Tue, 1 Jun 2021 11:08:26 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

> Is a specific version of IntelliJ required to test this fix, I use 2019.2 version. I always build using terminal, on my IntelliJ the build fails both before and after.

### I'm using the newest version (Community edition, 2021.1.2).

Executing `gradle` via the IntelliJ build-in terminal works for me:
![image](https://user-images.githubusercontent.com/66004280/120437105-090cdc00-c380-11eb-9c8b-0b692a567dae.png)

Executing `gradle sdk` via 'IntelliJ Gradle' works for me:
![image](https://user-images.githubusercontent.com/66004280/120437762-c5ff3880-c380-11eb-8b01-83f1bc034029.png)

And running normal unit tests works for me as well:
![image](https://user-images.githubusercontent.com/66004280/120438189-59386e00-c381-11eb-9243-9ab25aa263bf.png)

Any chance you can test it with the newest version?

> .idea/gradle.xml line 28:
> 
>> 26:     </option>
>> 27:   </component>
>> 28: </project>
> 
> I can see the same modules in project structure with or without this change. Is this required for build to work ?

This enabled the IntelliJ gradle plugin for me, so e.g. the support for doing the tasks in the ide. And with it, I was able to run normal unit tests from the ide (see also screenshot(s) below)
![image](https://user-images.githubusercontent.com/66004280/120438497-c0562280-c381-11eb-8bda-f1d17d8b30ac.png)

-------------

PR: https://git.openjdk.java.net/jfx/pull/506


More information about the openjfx-dev mailing list