Chapter 3. Programming with XOTclIDE

Table of Contents

System Requirements and Installation
XOTclIDE Programs and Start Options
Starting XOTclIDE from tclkit
Starting XOTclIDE without Version Control System
Starting XOTclIDE with Version Control System
Starting XOTclIDE with Version Control System by loading from Version Control
Options synopsis
Building an Application
XOTclIDE Components
Component lifecycle
Browsers and Inspectors
Writing Source
Debugging running Systems
Version Control
Configuration Management and Deploying
Special Browsers
Source Editing
Basic Editor Function
Code Completion
Navigation in Sources
Syntax highlighting
Checking parentheses
Automatic Indenting
Evaluate Tcl Scripts in Editor

System Requirements and Installation

XOTclIDE is supplied in three versions, either as a set of Tcl/XOTcl scripts (packages), or as a Starpack or Tclkit that needs no further installation. The Starpack version is available only for Windows. The Tclkit version runs on both Windows and Intel Linux.

To run the script version you need an installed Tcl with the Tk and XOTcl extensions. XOTclIDE can run anywhere Tcl/XOTcl runs but it has been tested only for Linux (RedHat) and Windows. Tcl(Tk) and XOTcl can be obtained free from the Internet - see Chapter 5, Additional Information. Almost all Linux distributions offer Tcl and Tk as base packages, but often in the older 8.3 version. For Linux and Windows, XOTcl must be installed separately. To use Version Control you need in addition a relational database manager (SQL-Database) and the proper Tcl interface to it (see the section called “Version Control System”). I suggest the following infrastructure.

  • Linux as platform

  • Tcl and Tk (required)

  • XOTcl Extension (required)

  • MySQL Database (required for version control)

  • mysqltcl - MySQL Tcl interface (required for version control)