所以就有另一种选择了,把代码保存成脚本,然后用脚本模式让解释器来运行这些脚本。
The alternative is to save code in a file called a script and then run the interpreter in script mode to execute the script.
它提供的IDE特性包括:用于快速体验的脚本模式,用于应用程序开发的项目模式,以及通过新的语言服务来实现的增强的智能感知。
IDE features include a scripting mode for quick experiments, a project mode for application development, and improved Intellisense via a new language service.
模式:使用脚本和数据库在每个目标环境中应用增量更改。
Pattern: Use scripts and database to apply incremental changes in each target environment.
这个模式还将包括配置脚本。
模式和脚本包包含在部署时指定的参数,并且在映像被实例化时将这些参数传递给映像。
Patterns and script packages contain parameters that are specified at deployment time and passed into the image as it is being instantiated.
可以将脚本添加到模式中的任何节点中,选择它们并将它们放置到目标节点上。
You can add scripts to the individual nodes in a pattern by selecting them and dropping them on the target node.
指定了这些信息后,现在可以开始使用脚本包来构建定制模式了。
With this information specified, you can begin to use this script package to build custom patterns.
在部署包含此脚本包的模式时,将为该变量提供一个值。
You will supply the value for this variable when deploying a pattern that contains this script package.
要设置属性,单击每个模式部件或脚本区域的右上角的属性图标。
To set properties, click on the properties icon in the upper right corner of each pattern part or script figure.
模式:在脚本中编写所有部署流程。
图12展示了关联到一个模式的脚本包。
Figure 12 shows a script package being associated with a pattern.
脚本包设计用于定制模式中的各个部件的行为。
A script package is designed to customize the behavior of parts within a pattern.
请记住这些脚本处理的是模式,而不是数据。
Keep in mind that these scripts deal with schema, but not data.
脚本包也可以用于定制模式。
这是脚本的最常见执行模式。
这支持创建具有以下权限的用户:只能部署模式,但无权向映像添加内容、添加脚本或修改模式。
This enables you to establish users who can only deploy patterns, with no permission to add content to an image, add scripts, or modify patterns.
要通过定制模式实现这个目标,必须创建一个新的脚本包,它将构成模式的一部分。
To achieve this objective with a custom pattern, you must create a new script package that will be part of the pattern.
此外,您将看到如何使用该映像构建一个包含脚本包的定制模式,该脚本包在模式部署期间配置新安装的软件。
In addition, you will see how to use this image to build a custom pattern containing a script package that configures the newly installed software during pattern deployment.
如何关联脚本包和模式。
此脚本对象可用于连接模式和脚本对象未连接到运行中服务器的本地模式。
This scripting object is available in both connected mode and local mode in which the scripting object is not connected to a running server.
此时,可以选择与脚本包相同的方式锁定模式。
At this point, you can optionally lock the pattern in the same manner as the script package.
在数据仓库模式上运行sql脚本。
备份脚本应该反映最新的模式。
模式实现脚本由IBM创建并包含在设备中。
The pattern implementation scripts were created by IBM and are included in the appliance.
此外,脚本创建了一个新的集群模式并将脚本包放到部署管理器组件中。
In addition, the script creates a new cluster pattern and places the script package on the deployment manager component.
将V 6.1配置从支持脚本兼容模式转换为不再支持脚本兼容模式的命令。
Command that converts the V6.1 configuration from a mode in which script compatibility is supported to a mode in which script compatibility is no longer supported.
将V7配置从支持脚本兼容模式转换为不再支持脚本兼容模式的命令。
Command that converts the V7 configuration from a mode in which script compatibility is supported to a mode in which script compatibility is no longer supported.
创建一个定制模式和脚本包。
接下来,您将创建一个包含脚本包的模式。
Next, you will create a pattern that will contain the script package.
接下来,您将创建一个包含脚本包的模式。
Next, you will create a pattern that will contain the script package.
应用推荐