.. java:import:: java.io File .. java:import:: java.io IOException .. java:import:: java.util ArrayList .. java:import:: org.caosdb.server CaosDBServer .. java:import:: org.caosdb.server ServerProperties .. java:import:: org.caosdb.server.entity Message .. java:import:: org.caosdb.server.utils ConfigurationException .. java:import:: org.caosdb.server.utils ServerMessages .. java:import:: org.caosdb.server.utils Utils ScriptingUtils ============== .. java:package:: org.caosdb.server.scripting :noindex: .. java:type:: public class ScriptingUtils Constructors ------------ ScriptingUtils ^^^^^^^^^^^^^^ .. java:constructor:: public ScriptingUtils() :outertype: ScriptingUtils Methods ------- getScriptFile ^^^^^^^^^^^^^ .. java:method:: public File getScriptFile(String command) throws Message :outertype: ScriptingUtils Get the script file by the relative path. Run through all registered bin_dirs and try to resolve the command relative to them. The first matching file is used. When it is not executable throw a SERVER_SIDE_SCRIPT_NOT_EXECUTABLE message. When no matching file exists throw a SERVER_SIDE_SCRIPT_DOES_NOT_EXIST message. :param command: The relative path :throws Message: :return: The script File object. getStdErrFile ^^^^^^^^^^^^^ .. java:method:: public File getStdErrFile(File workingDir) :outertype: ScriptingUtils getStdOutFile ^^^^^^^^^^^^^ .. java:method:: public File getStdOutFile(File workingDir) :outertype: ScriptingUtils getTmpWorkingDir ^^^^^^^^^^^^^^^^ .. java:method:: public File getTmpWorkingDir() :outertype: ScriptingUtils