"Using an IDE" Page outdated

Nir Lisker nlisker at gmail.com
Tue Jan 14 08:22:56 UTC 2020


I think your errors come from the note under "Using Gradle" in the Eclipse
instructions. Gradle doesn't know how to create the correct Eclipse files,
so it overrides the ones in the repo with its incorrect ones. Try to revert
the changes to .project and .classpath files.

You might still get a few errors when looking for external jars because the
root project name is different, but these are trivial to fix. The base
modules should have no errors at the very least.

I should update the instructions to talk about the new repository since the
current ones still mention mercurial.

Is hlsl the "High Level Shading Language" which may be specific to Windows?


Yes, but it should be ignored on non-Windows systems. I will have to
recheck if there's any issue on Linux next time I boot into it, I don't
remember any issues there.

>
>

On Tue, Jan 14, 2020 at 10:12 AM Robert Lichtenberger <
r.lichtenberger at gmail.com> wrote:

> I've tried to import using "General" -> "Existing Projects in Workspace"
> but get lots of errors as well. When reducing the imported projects to
> base, graphics and controls:
> * base is ok
> * graphics has these errors:
> Description Resource Path Location Type
> Project 'graphics' is missing required source folder: 'build/hlsl/Decora'
> graphics Build path Build Path Problem
> Project 'graphics' is missing required source folder: 'build/hlsl/Prism'
> graphics Build path Build Path Problem
> * controls won't build due to errors in graphics
>
> Is hlsl the "High Level Shading Language" which may be specific to Windows?
>
> Am Di., 14. Jan. 2020 um 08:53 Uhr schrieb Tom Schindl <
> tom.schindl at bestsolution.at>:
>
> > Hi,
> >
> > I think Nir nor I uses them as gradle Projects because you have the
> > .classpath, .project, ... .
> >
> > Tom
> >
> > On 14.01.20 08:12, Robert Lichtenberger wrote:
> > > 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
> > >>>>
> > >>>
> > >>
> >
> > --
> > Tom Schindl, CTO
> > BestSolution.at EDV Systemhaus GmbH
> > Salurnerstrasse 15. A-6020 Innsbruck
> > Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
> >
>


More information about the openjfx-dev mailing list