BSFManager.compileScript should do what you need.
-----Original message-----
From: Russell Webb
russell.webb@...
Date: Fri, 26 Oct 2007 05:07:40 -0400
To:
bsf-user@...
Subject: Script validation
> Hello all,
>
> I'm a noob currently using BSF to run user entered Groovy script, and potentially
> other scripting languages, within a Java application and am looking for a way to
> validate the script syntax via BSF before actual execution. Can anyone tell me if
> this is possible.
>
> Cheers
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
bsf-user-unsubscribe@...
> For additional commands, e-mail:
bsf-user-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
bsf-user-unsubscribe@...
For additional commands, e-mail:
bsf-user-help@...