VWorks software calls the
CompileComplete method after a protocol is compiled. The plugin tells
VWorks software whether the protocol run should proceed if compiler errors occurred.
VWorks software passes a Velocity11 XML element into the
sXML parameter of the
CompileComplete method. This XML element provides the number of errors and warnings that occurred during the compilation.
The Velocity11 element has the following attributes:
The following sample code is a Velocity11 XML element that is received by the plugin from
VWorks software in the
sXML parameter of the
CompileComplete method.
VWorks software tells the plugin that no warnings or errors occurred when the protocol was compiled.
The plugin returns a Velocity11 XML element in the sResultXML parameter of the
CompileComplete method. This XML element provides the action to take if compiler error occurred.
The Velocity11 element has the following additional attribute:
The following sample code is a Velocity11 XML element that is returned to VWorks software by the plugin as a string in the
sResultXML parameter of the
CompileComplete method. The plugin tells
VWorks software to allow the protocol to proceed, even if compiler errors occurred.