Re: jexl upgrade path from 1.x

2023-01-31 Thread Gilles Sadowski
Hi.

Le mer. 1 févr. 2023 à 02:37, Alex O'Ree  a écrit :
>
> Hi i'm doing some maintenance work on the bsf library

Please move the discussion to the "dev" mailing list.

> which currently
> depends on a jexl 1.x. There's a few imports that aren't exactly resolving.
>
> import org.apache.commons.jexl.JexlContext;
> moved to import org.apache.commons.jexl3.JexlContext;
>
> import org.apache.commons.jexl.JexlHelper;
> unknown what happened to this but seems to have been removed in 2.x
>
> import org.apache.commons.jexl.Script;
> i think moved to import org.apache.commons.jexl3.JexlScriptScript;
>
> import org.apache.commons.jexl.ScriptFactory;
> not sure what this maps to in the current code base
>
> I found some notes in the release notes about a jexl-comat library but
> couldn't find it published anywhere. I also poked around the website
> looking for some kind of migration guide.
>
> Any pointers to how i can update this code base?

I'd be wary to release a new version of this component, using a
dependency that is more than 10 years old.
IMHO, the way to go is to depend on the lastest (i.e. supported)
version of JEXL.

Please post specific questions about upgrading the BSF codebase
using a "Subject:" line with the "[BSF]" prefix (on "dev@").[1]

Thanks,
Gilles

[1] There are dozens of components, sharing the same ML.

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



jexl upgrade path from 1.x

2023-01-31 Thread Alex O'Ree
Hi i'm doing some maintenance work on the bsf library which currently
depends on a jexl 1.x. There's a few imports that aren't exactly resolving.

import org.apache.commons.jexl.JexlContext;
moved to import org.apache.commons.jexl3.JexlContext;

import org.apache.commons.jexl.JexlHelper;
unknown what happened to this but seems to have been removed in 2.x

import org.apache.commons.jexl.Script;
i think moved to import org.apache.commons.jexl3.JexlScriptScript;

import org.apache.commons.jexl.ScriptFactory;
not sure what this maps to in the current code base

I found some notes in the release notes about a jexl-comat library but
couldn't find it published anywhere. I also poked around the website
looking for some kind of migration guide.

Any pointers to how i can update this code base?


Re: Commons bsf

2023-01-31 Thread Alex O'Ree
No problem. There was some activity on github. I ran the owasp dependency
check thing against it and found a few issues, attempted to update some of
the dependencies (jython) and hit a bit of a snag. I'm not entirely sure
where to go from here. I'm not sure if anyone else has attempted this or
not.

On Tue, Jan 31, 2023 at 6:34 PM Gary Gregory  wrote:

> This is an open source project, so support is as best as us volunteers see
> fit or have itches to scratch ;-)
>
> In this case the lack of activity might show that the original authors
> could have abandoned the component. Let's see how else pipes in.
>
> Gary
>
> On Tue, Jan 31, 2023, 17:21 Alex O'Ree  wrote:
>
> > Is the bsf library still supported? Looks like the website hasn't been
> > published since 2011.
> >
>


Re: Commons bsf

2023-01-31 Thread Gary Gregory
This is an open source project, so support is as best as us volunteers see
fit or have itches to scratch ;-)

In this case the lack of activity might show that the original authors
could have abandoned the component. Let's see how else pipes in.

Gary

On Tue, Jan 31, 2023, 17:21 Alex O'Ree  wrote:

> Is the bsf library still supported? Looks like the website hasn't been
> published since 2011.
>


Commons bsf

2023-01-31 Thread Alex O'Ree
Is the bsf library still supported? Looks like the website hasn't been
published since 2011.