Eclipse and Gradle in OpenJFX

Thiago Milczarek Sayão thiago.sayao at gmail.com
Tue Jun 18 19:51:38 UTC 2024


Andy,

We kind of did the opposite for Intellij (got rid of the .iml files and
went for gradle import):

https://github.com/openjdk/jfx/pull/1009

I couldn't get it to detect the manual tests tho. Changing some gradle
files worked, but would require a deeper review, so we went without it.

-- Thiago.

Em ter., 18 de jun. de 2024 às 16:05, Andy Goryachev <
andy.goryachev at oracle.com> escreveu:

> Dear developers:
>
>
>
> Does anyone use gradle in Eclipse (Buildship plug-in) with the OpenJFX
> repo?
>
>
>
> The reason I am asking is that in my experience, the gradle nature in
> OpenJFX is either misconfigured, or obsolete, or both.  There is a rather
> old wiki page [0] which describes the Eclipse setup, though I don't think
> it is correct anymore.  The initial import of the repository in Eclipse
> triggers an internal gradle run which creates/modifies a bunch of
> .classpath and .project files which must be undone before the workspace
> becomes usable.  In any case, only a proper command line gradle build is
> supported anyway.
>
>
>
> I would like to propose removing the gradle nature from Eclipse's .project
> files in OpenJFX.  Once done, the projects can be trivially imported into a
> new workspace with no extra steps required.  This change has no impact on
> command line build whatsoever.
>
>
>
> What do you think?
>
>
>
> Thank you
>
> -andy
>
>
>
>
>
>
>
> *References*
>
>
>
> [1]
> https://wiki.openjdk.org/display/OpenJFX/Using+an+IDE#UsinganIDE-ConfigureEclipsetousethelatestJDK
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240618/305d59f7/attachment-0001.htm>


More information about the openjfx-dev mailing list