示例#1
0
 /** @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;
 }
示例#2
0
 /** @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);
 }
示例#3
0
 /** @see ITomcatVersionHandler#prepareRuntimeDirectory(IPath) */
 public IStatus prepareRuntimeDirectory(IPath baseDir) {
   return TomcatVersionHelper.createCatalinaInstanceDirectory(baseDir);
 }
示例#4
0
 /** @see ITomcatVersionHandler#prepareDeployDirectory(IPath) */
 public IStatus prepareDeployDirectory(IPath deployPath) {
   return TomcatVersionHelper.createDeploymentDirectory(
       deployPath, TomcatVersionHelper.DEFAULT_WEBXML_SERVLET25);
 }
示例#5
0
 /** @see ITomcatVersionHandler#getRuntimeBaseDirectory(TomcatServer) */
 public IPath getRuntimeBaseDirectory(TomcatServer server) {
   return TomcatVersionHelper.getStandardBaseDirectory(server);
 }