You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "fanningpj@apache.org" <fa...@apache.org> on 2020/09/21 09:35:02 UTC

Java 15 build

Hi,
Javascript nashorn engine has been removed from Java 15.
This breaks the ant build - which has a few bits of javascript.
I tried setting up the script to use graal.js but still getting exceptions.
Not much online about how to use graal.js with ant. I suspect that you need to put the graal.js jars in the ant lib because setting the classpath on the script task does not seem to help.

Regards,
PJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: Java 15 build

Posted by Dominik Stadler <do...@gmx.at>.
Thanks Andi for adjusting the build, it now runs tests and works fairly
far, not fully green yet, though.

Domink.

On Mon, Sep 21, 2020 at 7:18 PM Yegor Kozlov <ye...@dinom.ru> wrote:

> I wonder if we should consider an alternative or refactor build.xml to do
> without scriplets.
> BSF is dead.
> GraalVM is very new and setting it up to work with Ant is not trivial.
>
> Yegor
>
> пн, 21 сент. 2020 г., 18:39 Dominik Stadler <do...@gmx.at>:
>
> > Hi,
> >
> > thanks Yegor for the link, I reported this at Apache Ant back in May as
> > there are some changes to Ant itself required to allow to inject the
> > Graal.js implementation. Unfortunately there was not much movement on
> this
> > ticket since then, maybe you want to ping it as well to indicate that
> > others are looking for this now as well.
> >
> > With a patched Ant I was able to make JDK 15 mostly work, but it required
> > quite a few pieces from the Graal.js and some dependencies to be
> available
> > even before starting the build, so replacing the scripts with some other
> > ant-task would probably be a better option, not sure how much work this
> > would require, though.
> >
> > Dominik.
> >
> > On Mon, Sep 21, 2020 at 2:50 PM Yegor Kozlov <ye...@dinom.ru>
> > wrote:
> >
> > > >
> > > > Some pointers are in this ticket:
> > >
> > >
> > >
> > > > https://bz.apache.org/bugzilla/show_bug.cgi?id=64469
> > > >
> > >
> >
>

Re: Java 15 build

Posted by Yegor Kozlov <ye...@dinom.ru>.
I wonder if we should consider an alternative or refactor build.xml to do
without scriplets.
BSF is dead.
GraalVM is very new and setting it up to work with Ant is not trivial.

Yegor

пн, 21 сент. 2020 г., 18:39 Dominik Stadler <do...@gmx.at>:

> Hi,
>
> thanks Yegor for the link, I reported this at Apache Ant back in May as
> there are some changes to Ant itself required to allow to inject the
> Graal.js implementation. Unfortunately there was not much movement on this
> ticket since then, maybe you want to ping it as well to indicate that
> others are looking for this now as well.
>
> With a patched Ant I was able to make JDK 15 mostly work, but it required
> quite a few pieces from the Graal.js and some dependencies to be available
> even before starting the build, so replacing the scripts with some other
> ant-task would probably be a better option, not sure how much work this
> would require, though.
>
> Dominik.
>
> On Mon, Sep 21, 2020 at 2:50 PM Yegor Kozlov <ye...@dinom.ru>
> wrote:
>
> > >
> > > Some pointers are in this ticket:
> >
> >
> >
> > > https://bz.apache.org/bugzilla/show_bug.cgi?id=64469
> > >
> >
>

Re: Java 15 build

Posted by Dominik Stadler <do...@gmx.at>.
Hi,

thanks Yegor for the link, I reported this at Apache Ant back in May as
there are some changes to Ant itself required to allow to inject the
Graal.js implementation. Unfortunately there was not much movement on this
ticket since then, maybe you want to ping it as well to indicate that
others are looking for this now as well.

With a patched Ant I was able to make JDK 15 mostly work, but it required
quite a few pieces from the Graal.js and some dependencies to be available
even before starting the build, so replacing the scripts with some other
ant-task would probably be a better option, not sure how much work this
would require, though.

Dominik.

On Mon, Sep 21, 2020 at 2:50 PM Yegor Kozlov <ye...@dinom.ru> wrote:

> >
> > Some pointers are in this ticket:
>
>
>
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=64469
> >
>

Re: Java 15 build

Posted by Yegor Kozlov <ye...@dinom.ru>.
>
> Some pointers are in this ticket:



> https://bz.apache.org/bugzilla/show_bug.cgi?id=64469
>