WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

Script validation

View: New views
2 Messages — Rating Filter:   Alert me  

Script validation

by n0_fixed_ab0de :: Rate this Message:

| View Threaded | Show Only this Message

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@...


Re: Script validation

by Mhall :: Rate this Message:

| View Threaded | Show Only this Message

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@...