![]() The Requirements tab is for specifying the package requirements (Tcl version, module dependencies, etc.). To exclude files, use the Remove button to take files out of the list, or if glob style matching is being used in Included Files, by adding specific files to the Excluded Files list. "*" and "?") for specifying multiple files with a particular extension or text string in the name. The Included Files and Excluded Files fields accept glob style wildcards (e.g. Scan Directory will populate the Included Files list with the relevant files discovered in the scan. TEApot Package Files The Files tab is for specifying files for inclusion and exclusion for the package. Description: A longer description of the package. Summary: A short summary of what the package is or does. By default, this field shows the platform the Package Editor is currently running on. Platform: The target platform for the package. Version: A version number for the entity. o Profile: A named collection of references to other entities (i.e. Type: A drop-down list with options for specifying what kind of TEApot entity entity is being created: o Application: An Tcl based application with meta data. This tab includes the following fields: Picker dialog, and can be used with the -pkg option in the command-line version of TclApp This information is for package administration purposes a subset of the information is displayed in TclApp's Package TclApp. Note: TEApot projects generate a file called teapot.txt in the source directory when the project is saved, so the source directory must be writable.īasic TEApot Package Information The Basic tab is used to record general information about the package. Packages discovered in the scan are added to the project and appear in the left pane where they can be reviewed. Warnings are highlighted in yellow, errors are highlighted in red. The output pane below displays information on the scanning progress. If it is not present, the path displayed in the Destination field will be highlighted, indicating that scanning is not possible. If present, it will use this as a starting point for a heuristic scan for packages and files to be included in the project. The Package Editor scans the source directory for a pkgIndex.tcl file. Enter the directory to scan in the Destination field, or click the Browse button on the right. Scanning Directories Scan Directory opens a dialog box for choosing a source directory. In most situations where the Tcl files you want to package exist in a particular directory (and nested sub-directories), the Scan Directory is the simplest way to begin. A new TEApot package project is created by default when the Package Editor is started.Ĭreating a New TEApot Package Packages can be added to a project individually by clicking the Create a New Package button, or imported automatically by clicking the Scan Directory button. To create a project for packages in TEApot format, select New Project (Teapot) from the File menu. Use 'Ctrl-plus' and 'Ctrl-minus' to increase or decrease the displayed font size. tap files (TclApp packages) starkits and starpacks zip archives tcl modules Teapot.txt files (TEApot package descriptors). Types of files that can be loaded as projects include: Project files can be specified at the command line. On Unix, enter tclpe at the shell prompt. On Windows, enter tclpe.exe at the command prompt. Alternatively, you can invoke the Package Editor from the command line. Starting the Package Editor To launch the Package Editor in Windows, select Tcl Dev Kit Package Editor from the Tcl Dev Kit program group on the Windows Start menu. Each package will be displayed as an individual entity in the TclApp Package Picker dialog however, by grouping multiple packages together into one project, you can easily maintain file sets in related packages. Multiple packages can be configured within the same Package Editor project. The Package Editor can be used to modify existing packages, regardless of whether they are custom packages or predefined packages included with ActiveTcl. These packages can be installed using ActiveTcl's ActiveTcl's TEAcup TEAcup client. Many more packages are available from ActiveState's TEApot repository. tap format are included with ActiveTcl 8.4 and earlier. ![]() TEApot packages can also be hosted in a TEApot repository and made available to ActiveTcl TEAcup clients. Packages can be modified and re-used by multiple applications built with TclApp. Creating package definitions simplifies the creation of applications in TclApp as included files do not have to be specified individually. Both types of packages can be used by by TclApp. tm files) or TclApp Package format (.tap files). Package Editor The Package Editor is a graphical application used to define Tcl packages in TEApot format (.zip and.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |