<< 点击显示目录 >> 主页 exOS使用助手 > exOS Automation Help > Development > exOS Package |
exOS 软件包是逻辑视图中的容器,用于容纳基于 exOS 的解决方案的所有部分,包括 Linux 和 AR 的源代码或二进制文件、 AS软件 中 exOS 构建链的设置 以及 AS软件 配置视图中配置 元素的预设值 。查看 .exospkg 和配置元素之间关系的 更多 信息
根据 exOS 软件包中的文件及其描述以及用户定义的配置,配置部署机制。该机制负责将文件传输到 exOS 目标机系统,并在目标机上正确处理这些文件。在大多数情况下,这意味着在相应的 exOS 目标机上安装特定于目标机的软件安装包(如 Linux .deb 文件)。有关详情,请参阅 " 部署"部分 。
二进制exOS 软件包包含所有 Linux 软件模块以及编译后的 AS 软件库。Linux 模块通常以一个或多个安装文件(.deb)的 形式打包,并将安装到目标系统上。
二进制 exOS 软件包不需要任何构建环境,即可在运行 AS 软件的机器上创建 Linux 可执行文件。因此,它是提供给自动化工程师/PLC 程序员的典型软件包类型。
源exOS 软件包包含所有 Linux 软件模块以及源形式的 AS软件 库。在AS软件项目的构建过程中,会执行用户定义的构建步骤,为目标系统编译Linux软件。为了使该步骤正常运行,运行AS软件的机器上必须有目标系统的[BuildEnvironment][dev_buildenv]。
源exOS软件包通常在软件包本身的开发过程中使用,或在没有"Linux开发人员"和"PLC程序员"之分的项目中使用(即,AS软件用户同时也是exOS组件开发人员)。
An exOS Package is the container in the Logical view that holds all parts of an exOS-based solution including sources or binaries for Linux and Automation Runtime, settings for the exOS build-chain in Automation Studio, and preset values for the Configuration Elements in the configuration view of Automation Studio. See more in the relation between the .exospkg and configuration elements
Based on the files in the exOS Package and its description together with the user-defined configuration, the deployment mechanism is configured. This mechanism is responsible for the transfer of files to an exOS target system and the correct handling of those files on that target. In most cases this means that a target-specific software installation packages (e.g. Linux .deb file) is installed on the according exOS target. See more on that in the section Deployment.
A binary exOS Package contains all Linux software modules as well as the Automation Studio libraries in compiled form. The Linux modules are typically packaged in the form of one or more installation files (.deb) that are going to be installed on the target system.
A binary exOS Package does not require any build environment to create the executables for Linux on the machine running Automation Studio. It is therefore the typical type of package that is provided to an automation engineer / PLC programmer.
A source exOS Package contains all Linux software modules as well as the Automation Studio libraries in source form. During the build process of the Automation Studio project, a user-defined build-step is executed that compiles the Linux software for the target system. In order for this to work, a [Build Environment][dev_buildenv] for the target system must be present on the machine running Automation Studio.
A source exOS Package is typically used during development of the package itself or in projects that do not have a split between "Linux developer" and "PLC programmer" (i.e. where the Automation Studio user is also an exOS Component developer).