[izpack-users] Feature Request - Scripting Languages for custom actions

Mark Fortner phidias51 at yahoo.com
Tue Jan 8 18:13:48 CET 2008


BSF 3 supports JSR 223 and the Invocable interface.
http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/Invocable.java?view=markup

Mark

On Jan 8, 2008 8:22 AM, Matthew Inger <mattinger at gmail.com> wrote:
> As a side note, if you can think of a better way to do the functions via bsf
> than the way
> i've done them, feel free to let me know.  If i were using the JSR 223
> stuff, I could use
> the Invocable interface of the scripting engine.  However, I can't find
> anything of that nature
> in bsf, and the best i've been able to come up with is to define anonymous
> functions and
> assign them to symbols, which can then be called as functions.  The function
> parameters
> are merely defined as symbols before the function is called.
>
> I'm not thrilled with this, but it does work.
>
>
>
> On Jan 8, 2008 4:30 AM, Julien Ponge <julien.ponge at gmail.com> wrote:
> > Hi Matthew,
> >
> > I'll have a look shortly, but if another developer wants to have a
> > look before that's fine with me ;-)
> >
> > Cheers
> >
> >
> >
> > _______________________________________________
> > izpack-users mailing list
> > izpack-users at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/izpack-users
> >
>
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
>


More information about the izpack-users mailing list