This setting is saved as part of the model. This setting requires that event timeout be enabled. If the event handler exceeds this timeout when processing an event, a timeout error is generated. This is the event handler timeout used when a timeout is not specified for a particular event. Use the Environment tab in the Event Handler Settings dialog box to configure your event handler development environment. The Host Integrator Session Server runs its own separate script server instance, but you must restart the server in order to change event handler debug settings. These debugging settings apply to script server instances started by Design Tool. You can open the console manually from the Debug menu or from the Event Handler toolbar. Select Show when Design Tool starts to open the event handler console automatically when the Design Tool opens. A value of zero indicates that the event handler has the debug port disabled. You may need to configure your Java IDE if the Debug port assigned is other than the default 5006 or if you will be doing remote debugging with the Java IDE running on a separate system instead of localhost. This is the JVM remote debug port that is currently in use. If another Script Server instance is already running at the setting specified here, the next available port is used. This value is saved as a per-user setting. It is enabled by default.ĭesign Tool starts searching for an available remote debugging port at the port selected here. This option disables listening on the debug port. Each Design Tool instance starts its own script server instance. For Java, Event Handler debugging allows a third-party Java IDE debugger to connect to the Host Integrator script server. These settings are stored in the Windows registry as per-user settings. Use the Debugging tab in the Event Handler Settings dialog box to configure your debugging options. NET, event handler implementation does not include classpath support. The classpath is stored in a properties file the path cannot be changed here. In Java, this is the non-event handler libraries classpath to be searched to satisfy external class references in the event handlers, both when compiling and at run time. This setting is stored in the model file and can be saved to a settings file (.dtool) with other configuration information. Other properties for event handling can be stored in properties files.Ĭhoose to automatically reload event handlers each time you make a change, or to reload only when a rebuild or reload command is executed. Use the Building tab in the Event Handler Settings dialog box to determine what happens when you rebuild event handlers. %s-root of the model source file directory.%d-source file directory containing the file.%p-source file name as fully qualified path name.The parameters used with commands support the following escape codes to further specify file and directory information for editing and compiling scripts: Spaces in command or path names require that the entire command be in quotes.Either UNC syntax or drive:path syntax.The name of any external command should use Windows conventions: You may need to specify a custom string for the Other editor option to use the editor of your choice. If you're having trouble opening source code when you click the Edit button (), a quick workaround is to change your editor selection to a text editor such as Notepad. This example uses an alternate editor: "C:\Program Files\TextPad 4\TextPad.exe" "%p" The %p is automatically appended to the string when you locate the editor by clicking Browse. Click Browse to locate it, or use the command syntax below. This is the default if no Java editor is found on your machine. NET with C# as the selected technology, if a C# editor is found on your machine it is displayed here. With Java as the selected technology, if a Java editor is found on your machine it is displayed here. Otherwise, a text editor is selected as the default. Host Integrator searches for the presence of common Java editors and selects it as the source code editor if one is found. Specify the command to launch the editor whenever you choose to edit source code for a script. Other properties for event handling can be stored in properties files. Modeling Tips for Building Web Applications Using HLLAPI Adapters to Migrate Legacy Programs
0 Comments
Leave a Reply. |