Class WebAppDeploymentUtil


  • public class WebAppDeploymentUtil
    extends Object
    Util that is enabled the more utility methods for handling the WebApps
    • Constructor Detail

      • WebAppDeploymentUtil

        public WebAppDeploymentUtil()
    • Method Detail

      • copyWebApp

        public static void copyWebApp​(String testWebAppResourcePath,
                                      String warFilePath)
                               throws IOException
        Copy a war file to the webapp directory
        Parameters:
        testWebAppResourcePath - Sample webapp war file path
        warFilePath - War file path
        Throws:
        IOException - If an error occurs while reading/writing files
      • waitForWebappToDeploy

        public static void waitForWebappToDeploy​(String warFilePath,
                                                 long timeout)
        Wait until a war file is deployed
        Parameters:
        warFilePath - War file path
        timeout - Timeout