如何部署复杂的TCL应用程序 [英] How to deploy complex tcl applications

查看:89
本文介绍了如何部署复杂的TCL应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何部署复杂的tcl应用程序以及如何从一个最小的示例开始寻找良好的入门?

How to deploy complex tcl applications and where to find a good getting started with a minimal example?

我想以tcl交互程序的形式部署应用程序,其中包括应用程序tcl软件包。最好是一个二进制文件。

I want to deploy the application in form of a tcl interpeter with the application tcl packages included. Preferable as one binary.

推荐答案

使用Tcl的规范方法就是所谓的 starpack starkit 。星际背包是一个单一的二进制文件,在一个文件中包含Tcl运行时以及所有需要的脚本和扩展名。 starkit使用两个文件来完成此操作(一个运行时最初称为 tclkit 和一个数据库中捆绑的数据/脚本档案)。

The canonical way to do that with Tcl is a so called starpack or starkit. A starpack is a single binary that contains a Tcl runtime and all needed scripts and extensions in a single file. A starkit does it with two files (one runtime originally called tclkit and a bundled data/script archive inside a database).

可悲的是,这些天的文档有些零散而且混乱,而且现在有各种各样的运行时,都有各种各样的弊端。

Sadly the documentation for that is a bit fragmented and unorderly these days, and there are a variety of runtimes now, that have various up and downsides.

如果您在Windows上,也许可以在Stackoverflow上从这个出色的答案入手。 (因为旧的equi4.com链接不见了,所以请使用下面的basekit和sdx的下载链接):
在Windows平台上创建Tcl Starkit的步骤

If you are on windows, maybe start right here on Stackoverflow with this excellent answer (just use my download links for the basekits and sdx below, as the old equi4.com links are gone): Steps to Create A Tcl Starkit on a Windows Platform

The最完善的版本肯定是带有其 TclApp 包装工具的商业ActiveState TDK(请参阅 http://docs.activestate.com/tdk/5.4/TclApp.html ),它基本上说明了使用这些starkit可以完成的一般操作。

The most polished version is surely the commercial ActiveState TDK with its TclApp wrapping tool (see the docs at http://docs.activestate.com/tdk/5.4/TclApp.html), it basically shows what can be done in general with those starkits.

除此之外,您还可以在Tcl'ers Wiki上找到许多信息,从以下位置开始: http://wiki.tcl.tk/52

Outside of that, you can find a lot of information spread over the Tcl'ers wiki, start from: http://wiki.tcl.tk/52

您需要某种基础套件,当前的基础套件会可能是Roy Keene( http://tclkits.rkeene.org/fossil/wiki/下载)。您还将需要SDX(有关获取源的信息,请参见 http://wiki.tcl.tk/3411 它)。将这些部分放在一起后,您可以按照( http://wiki.tcl .tk / 10558 )。 http://wiki.tcl中的构建Starkit 部分。 .tk / 3661 还有更多食谱。

You need one basekit of some kind, the current ones would probably the ones provided by Roy Keene (http://tclkits.rkeene.org/fossil/wiki/Downloads). You will also want SDX (see http://wiki.tcl.tk/3411 for sources to get it). Once you have those parts together, you can follow the step-by-step guides from (http://wiki.tcl.tk/10558). The Building a Starkit section at http://wiki.tcl.tk/3661 has a few more recipes.

这篇关于如何部署复杂的TCL应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆