Class PatchApplyingUtil
java.lang.Object
org.wso2.carbon.integration.tests.common.utils.PatchApplyingUtil
This utility class contains reusable methods for patch applying
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
PatchApplyingUtil
public PatchApplyingUtil()
-
-
Method Details
-
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
-