修补 WSO2 BPS - 碳 [英] Patching WSO2 BPS - Carbon
问题描述
我正在尝试在我们的 WSO2 BPS 3.2.0 环境中修补 carbon 应用程序.我们目前正在运行与 BPS 捆绑在一起的 4.2.0 patch0005.patch0007 中有一个修复程序可以解决我们遇到的错误.有没有人有工作流程,包括下载补丁源的步骤?
I am attempting to patch the carbon app within our WSO2 BPS 3.2.0 environment. We are currently runnning 4.2.0 patch0005 which was bundled with BPS. There is a fix in patch0007 that resolves a bug we are experiencing. Does anyone have a working processes including the steps to download the patch source?
我看到这里列出了一个服务包... https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/service-packs/,但这不包括服务所需的jar文件盒.
I see there is a service pack listed here... https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/service-packs/, but this does not include the jar files needed for the service pack.
我很欣赏正确方向的观点.
I'd appreciate a point in the right direction.
谢谢!
推荐答案
以下是构建和应用 patch0007 的方法:
Here's how you can build and apply the patch0007:
先决条件:
- Java 1.6(不会使用 1.7 或更高版本构建)
- Maven 3.0.5(后续版本可能有问题,请尝试安装此版本)
如何构建:
- Checkout 内核 4.2.0 (https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/)
- 构建内核(mvn clean install -Dmaven.test.skip=true)——这一步是可选的,你可以在没有这一步的情况下继续下一步,但如果你遇到任何问题,那么从这一步开始.这需要一些时间.
- 转到补丁目录
- 按照该顺序构建从 0001 到 0007 的每个补丁(按顺序执行此操作很重要,不要遗漏任何补丁)
- 现在您已经构建了最多 7 个补丁,现在您必须将 patch0006 和 patch0007 应用到 BPS(它已经有最多 patch0005)
- 这些补丁位于 patch0006/distribution/target/WSO2-CARBON-PATCH-4.2.0-0006.zip 和 patch0007 的类似位置
- 解压这些文件并从中取出 patch0006 和 patch0007 目录并复制到
/repository/components/patches - 重启服务器
这篇关于修补 WSO2 BPS - 碳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!