BBjShip 26.03
BBjShip 是一个 BBj 插件,可将 webforJ 应用程序部署到 BBjServices。您可以使用 webforJ 构建插件 在 BBj 机器或其他机器(例如 CI 服务器)上构建和部署应用程序,应用程序将在 BBjServices 中运行,像在 Enterprise Manager 中管理的任何其他应用程序一样。
BBjShip 替代了在 与 BBjServices 一起运行 中描述的 webforJ 安装插件,该插件已经不再推荐使用,并将在未来版本中移除。
BBjShip 通过 webforj-maven-plugin 与 Maven 项目兼容。webforJ Gradle 插件不支持 BBjShip。
工作原理
部署经过三个部分:
- webforJ 构建插件:将应用程序及其依赖项打包,并上传到 BBjShip
- BBjShip:在 BBjServices 中安装应用程序,并在
/webapp/<发布名称>下发布 - BBjServices:运行应用程序,您可以像管理任何其他应用程序一样在 Enterprise Manager 中管理它
在开发过程中,同样的构建插件会从您机器的 BBjServices 运行您的应用程序。您编译的更改将直接影响正在运行的应用程序,无需进行部署,打开的页面会自动更新,详见 BBjServices 中的重新部署和实时重载。
主题
入门
Create a webforJ app that runs with BBjServices from startforJ or the Maven archetypes, run it on your local BBj and deploy it with BBjShip.
现有项目
Move an existing webforJ project from the webforJ install plugin to BBjShip with one OpenRewrite run, and what the migration changes in the build and the configuration.
安装 BBjShip
Install BBjShip on your own machine with the webforJ Maven plugin, or on a shared BBj server with the BBj Plugin Manager.
部署
Package, deploy and undeploy webforJ apps in BBjServices with the bbj-package, bbj-deploy and bbj-undeploy goals of the webforJ Maven plugin.
命令行
The bbjship commands a BBj administrator runs on the BBj machine to manage the deployment endpoint, deployed apps, development runs and BBjServices.
故障排除
What the messages of the BBjShip goals and the bbjship command line mean, and what to do about each, for setup, deploys, development runs, the command line and Windows.