"Using an IDE" Page outdated

Robert Lichtenberger r.lichtenberger at gmail.com
Tue Jan 14 07:12:21 UTC 2020


Yes, I did run a gradle build (for which I had to tweak
buildSrc/linux.gradle to ignore some deprecations -- see my other post to
the list) successfully.

I use a completely fresh workspace, updated my JFX sources, I use Eclipse
2019-12 and jdk-13.0.1+9 on Fedora 31.

These are my steps:
* open eclipse,
* choose "Import projects" then "Gradle" -> "Existing Gradle project"
* give the top level folder of my repository (/home/rli/PWEs/jfx in my case)
* Use the gradle wrapper (i.e. no changes on the wizards next page)
* The project structure is given correctly, so I click finish

Eclipse then loads the projects but gives out the aforementioned error.

I've made a 1-minute video clip showing my steps:
https://youtu.be/S9WnOHCbWLI

I'll try to find out what is going wrong here. Could you tell me which
versions (JFX sources, Eclipse, JDK) you are using?


Am Mo., 13. Jan. 2020 um 17:59 Uhr schrieb Nir Lisker <nlisker at gmail.com>:

> Never seen this problem before. Did you run a Gradle build? [1] It needs to
> generated required resources.
>
> Also, the Eclipse files for some projects are not updated (though for the
> modules they are fine, so it's not the problem you are having). My patch
> for them was pending review by other Eclipse users and no one tested it, so
> if you are up for it I could resume work on it.
>
> - Nir
>
> [1]
>
> https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-BuildandTest
>
> On Mon, Jan 13, 2020 at 5:35 PM Robert Lichtenberger <
> r.lichtenberger at synedra.com> wrote:
>
> > Hmm. Eclipse would suit me fine, so I've tried to import a current
> OpenJFX
> > repository to Eclipse but it gives me (among others) this error:
> >
> > Description    Resource    Path    Location    Type
> > Cannot nest
> >
> 'home/rli/PWEs/jfx/modules/javafx.base/build/classes/java/main/javafx.base'
> > inside library
> > 'home/rli/PWEs/jfx/modules/javafx.base/build/classes/java/main'    base
> >     Build path    Build Path Problem
> >
> > The Workspace was completely new, all the other stuff (JDK 12, Java
> > Compiliance Level) should be ok.
> >
> > Do you have any idea what is going wrong here? Smells like module system
> > problems :-(.
> >
> >
> > Best regards,
> >
> > Robert
> > On 2020-01-10 17:52, Nir Lisker wrote:
> >
> > Hi Robert,
> >
> > I've brought this up in the past.
> >
> > I think that the best solution is for someone from the community to take
> > that task. I try to keep the Eclipse section updated, we will need
> someone
> > for the other IDE's.
> >
> > - Nir
> >
> > On Fri, Jan 10, 2020 at 10:54 AM Robert Lichtenberger <
> > r.lichtenberger at gmail.com> wrote:
> >
> >> I've noticed that
> >> https://wiki.openjdk.java.net/display/OpenJFX/Using+an+IDE
> >> seems a bit outdated (refers to JDK 1.8, a folder named "rt", which no
> >> longer exists, etc.).
> >>
> >> Could someone please update this page so that it is easier for newcomers
> >> to
> >> dive into the development of OpenJFX.
> >>
> >> Thanks,
> >> Robert
> >>
> >
>


More information about the openjfx-dev mailing list