"put", String.class, key,
Object.class, value);
}
}
// execute the script
return engine.invoke("eval", String.class, getScript());
} catch (BuildException be) {
//catch and rethrow build exceptions
// this may be a BuildException wrapping a ScriptException
// deeply wrapping yet another BuildException - for