Class PatchApplyingUtil
- java.lang.Object
-
- org.wso2.carbon.integration.tests.common.utils.PatchApplyingUtil
-
public class PatchApplyingUtil extends Object
This utility class contains reusable methods for patch applying
-
-
Constructor Summary
Constructors Constructor Description PatchApplyingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbuildPatch(String patchName, String jarName, String carbonHome)This method will build a jar with different md5sum and build the patch, then copy patch to the repository, components, patches.
-
-
-
Method Detail
-
buildPatch
public static String buildPatch(String patchName, String jarName, String carbonHome) throws IOException
This method will build a jar with different md5sum and build the patch, then copy patch to the repository, components, patches.- Parameters:
patchName- - Patch name eg: patch0005jarName- - Jar file name without the version and extension (eg: org.wso2.carbon.utils_) this jar file will be used to create the patchcarbonHome- - The location where the carbon server zip file is extracted- Returns:
- fileNameWithExt - Returns the copied jar file name as a patch
- Throws:
IOException
-
-