/** @see ITomcatVersionHandler#verifyInstallPath(IPath) */ public IStatus verifyInstallPath(IPath installPath) { IStatus result = TomcatVersionHelper.checkCatalinaVersion(installPath, TomcatPlugin.TOMCAT_80); // If check was canceled, use folder check if (result.getSeverity() == IStatus.CANCEL) { result = TomcatPlugin.verifyInstallPathWithFolderCheck(installPath, TomcatPlugin.TOMCAT_80); } return result; }
/** @see ITomcatVersionHandler#getRuntimeVMArguments(IPath, IPath, IPath, boolean) */ public String[] getRuntimeVMArguments( IPath installPath, IPath configPath, IPath deployPath, boolean isTestEnv) { return TomcatVersionHelper.getCatalinaVMArguments( installPath, configPath, deployPath, getEndorsedDirectories(installPath), isTestEnv); }
/** @see ITomcatVersionHandler#prepareRuntimeDirectory(IPath) */ public IStatus prepareRuntimeDirectory(IPath baseDir) { return TomcatVersionHelper.createCatalinaInstanceDirectory(baseDir); }
/** @see ITomcatVersionHandler#prepareDeployDirectory(IPath) */ public IStatus prepareDeployDirectory(IPath deployPath) { return TomcatVersionHelper.createDeploymentDirectory( deployPath, TomcatVersionHelper.DEFAULT_WEBXML_SERVLET25); }
/** @see ITomcatVersionHandler#getRuntimeBaseDirectory(TomcatServer) */ public IPath getRuntimeBaseDirectory(TomcatServer server) { return TomcatVersionHelper.getStandardBaseDirectory(server); }