Scripting Integrator - Online Help
Scripting Integrator
Questions / Feedback?

Engine Property

Indicates the active JavaScript engine.

Syntax

[VB.NET]
Public Property Engine As String

[C#]
public string Engine {get; set;}

Remarks

This property specifies the JavaScript engine which will be used. This property may be set to the absolute or relative path to the JavaScript engine. By default, Windows uses the V8 JavaScript engine (v8engine.dll). The Java edition uses the Rhino JavaScript engine (rhinoengine.jar).

Engine Notes

The component uses a common interface which acts as a bridge between the component itself and the actual engine. The component will make calls to the interface library which will in turn make calls to the selected engine. Every project must include the interface library, as well as the selected engine library.

The interface library is a separate file: "nsoftware.InScript.Interface.dll" (.NET) or "inscript.interface.jar" (Java). This file must be included in your project.

In addition to the interface library, the actual engine must be present. Several engine libraries are shipped with the product in the "lib" folder. The engines do not need to be included in your project, but must be present at runtime in order to be loaded by the interface library.

Windows Engines

The component supports two different JavaScript engines: The V8 JavaScript engine from Google and the Jurassic engine. Possible values for this property are:

  • jurassicengine.dll (.NET Edition Only)
  • v8engine.dll (default)
If the V8 JavaScript engine is used the two dlls "v8engine.ia32.dll" and "v8engine.x64.dll" are also relevant. The v8engine.dll is a managed library which will call the appropriate native library (v8engine.ia32.dll or v8engine.x64.dll). The application's target architecture determines which native dll will be needed at runtime. When distributing an application, both "v8engine.dll" and "v8engine.ia32.dll" or "v8engine.x64.dll" should be deployed as well. It is safe to deploy both "v8engine.ia32.dll" and "v8engine.x64.dll". The appropriate native library will be loaded at runtime.

Java Engines

The component supports the Rhino JavaScript engine. Possible values for this property are:

  • rhinoengine.jar (default)

This property is not available at design time.

Default Value

""

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0