Cannot build JMC

Mario Torre neugens at redhat.com
Mon Jun 3 13:52:09 UTC 2019


Yes, but if it's an *optional* plugin it shouldn't build by default
unless someone specifically ask for it.

We should probably consider rewriting JOverflow with pure Eclipse API,
especially if we want to build it by default, JavaFX isn't being
packaged in many Linux distributions.

Cheers,
Mario


On Mon, Jun 3, 2019 at 3:30 PM Marcus Hirt <marcus.hirt at datadoghq.com> wrote:
>
> The idea is that it should still be possible to build JOverflow with a
> JDK 8 not including JavaFX. The javafx packages should be downloaded
> from Maven Central by default and exposed through the local p2
> repositiory. JOverflow is a pretty useful tool. Unless the patch Jie
> has actually builds JOverflow, I think a closer look is warranted.
>
> Kind regards,
> Marcus
>
> On Mon, Jun 3, 2019 at 3:21 PM Mario Torre <neugens at redhat.com> wrote:
> >
> > To be fair, I also thought this was the case already, I remember Jie
> > proposing a patch, but I may confuse with what we have in our
> > downstream RPM (or maybe we just pushed the patch to 7.x and not to
> > the 7.0 branch).
> >
> > Can you please assign this bug to Jie I think he may be able to
> > backport the RPM patch into upstream.
> >
> > Cheers,
> > Mario
> >
> > On Mon, Jun 3, 2019 at 2:11 PM Marcus Hirt <marcus.hirt at datadoghq.com> wrote:
> > >
> > > The JavaFX bits are used by optional plug-ins, and they should be
> > > downloaded from maven central when required. It should be possible to
> > > build JMC without having JavaFX linked into the JDK. I actually
> > > thought this was already the case. I will open an Issue.
> > >
> > > Kind regards,
> > > Marcus
> > >
> > > On Mon, Jun 3, 2019 at 11:43 AM Mario Torre <neugens at redhat.com> wrote:
> > > >
> > > > What system are you on?
> > > >
> > > > On RHEL 8 (and 7) for example there's no bundled JFX, while there is
> > > > on Fedora. So if you are using a system where no JFX is present (any
> > > > build of OpenJDK and any Oracle JDK since 11) then you either need to
> > > > install it or patch the JFX bits out.
> > > >
> > > > I think the JFX bits should be optional on JMC but we're not there yet.
> > > >
> > > > Cheers,
> > > > Mario
> > > >
> > > > On Mon, Jun 3, 2019 at 11:34 AM Simone Bordet <simone.bordet at gmail.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > JMC 7.0.0-ga.
> > > > >
> > > > > I'm following what's in the README and the build fails for me at the
> > > > > "mvn package" command from the JMC root directory:
> > > > >
> > > > > [ERROR] Failed to execute goal
> > > > > org.eclipse.tycho:tycho-compiler-plugin:1.4.0:compile
> > > > > (default-compile) on project org.openjdk.jmc.javafx.osgi: Compilation
> > > > > failure: Compilation failure:
> > > > > [ERROR] /home/simon/opensource/openjdk/jmc7/application/org.openjdk.jmc.javafx.osgi/src/main/java/org/openjdk/jmc/javafx/osgi/FXToolkit.java:[42]
> > > > > [ERROR] import javafx.application.Platform;
> > > > > [ERROR]        ^^^^^^
> > > > >
> > > > > There are other 20 errors similar to this one.
> > > > >
> > > > > Ideas?
> > > > >
> > > > > Thanks!
> > > > >
> > > > > --
> > > > > Simone Bordet
> > > > > ---
> > > > > Finally, no matter how good the architecture and design are,
> > > > > to deliver bug-free software with optimal performance and reliability,
> > > > > the implementation technique must be flawless.   Victoria Livschitz
> > > >
> > > >
> > > >
> > > > --
> > > > Mario Torre
> > > > Associate Manager, Software Engineering
> > > > Red Hat GmbH <https://www.redhat.com>
> > > > 9704 A60C B4BE A8B8 0F30  9205 5D7E 4952 3F65 7898
> >
> >
> >
> > --
> > Mario Torre
> > Associate Manager, Software Engineering
> > Red Hat GmbH <https://www.redhat.com>
> > 9704 A60C B4BE A8B8 0F30  9205 5D7E 4952 3F65 7898



--
Mario Torre
Associate Manager, Software Engineering
Red Hat GmbH <https://www.redhat.com>
9704 A60C B4BE A8B8 0F30  9205 5D7E 4952 3F65 7898


More information about the jmc-dev mailing list