Hi,

Eclipse requires special Gradle instructions. The instructions for working
with Eclipse [1] should still be up to date. There are 2 options right now:

1. Use the Eclipse compiler/builder and do not involve Gradle (Buildship).
The problem is that Gradle overwrites the custom-made .classpath files in
the repository with wrong ones.
2. Use the Gradle compiler/builder by reverting the .classpath files
changes Gradle made, but you will have constant conflicts with the
repository due to changes in the .project files and the new .settings
folders. They are resolvable with mercurial commands.

There was some discussion about adding Gradle-specific Eclipse files to the
repo when the Eclipse files in the repo were being updated [2].
A more ideal solution will be to instruct Gradle to build the correct files
for the projects, but this is again an Eclipse-specific change, this time
to build.gradle. An example of how to do this can be found in [3] or (for
sub-projects) [4].

- Nir

[1]
https://wiki.openjdk.java.net/display/OpenJFX/Using+an+IDE#UsinganIDE-UsingEclipse
[2] https://bugs.openjdk.java.net/browse/JDK-8209015
[3]
https://github.com/openjfx/samples/blob/master/IDE/Eclipse/Modular/Gradle/hellofx/build.gradle#L16
[4]
https://github.com/FXyz/FXyz/pull/60/files#diff-c197962302397baf3a4cc36463dce5eaR54

On Fri, Mar 8, 2019 at 11:47 AM Michael Paus <m...@jugs.org> wrote:

> Hi
> What is the status of Eclipse in this context?
> Michael
>
> Am 08.03.19 um 09:20 schrieb Cirujano Cuesta, Diego:
> > Please review the following PR:
> >
> > https://github.com/javafxports/openjdk-jfx/pull/401
> > https://bugs.openjdk.java.net/browse/JDK-8220222
> >
> >
> > Best regards,
> >
> > Diego Cirujano Cuesta
> > __________
> >
> > Diego Cirujano Cuesta
> > Central Software Munich
> > Medical Technology Business Group
> > ZEISS Expert Ladder - Staff
> >
> > Carl Zeiss Meditec AG
> > ZEISS Gruppe
> > Kistlerhofstr. 75
> > 81379 Munich, Deutschland
> >
> > Phone: +4989909000203 Mobile: +4916099193532
> > diego.cirujano-cue...@zeiss.com<mailto:diego.cirujano-cue...@zeiss.com>
> > http://www.zeiss.com/med
> > __________
> >
> > Carl Zeiss Meditec AG
> > Sitz der Gesellschaft: Jena, Deutschland
> > Vorsitzender des Aufsichtsrats: Dr. Michael Kaschke
> > Vorstand: Dr. Ludwin Monz (Vorsitzender), Dr. Christian Müller (CFO)
> > Amtsgericht Jena, HRB 205 623, USt-IdNr: DE 811 922 737
> >
>
>

Reply via email to