Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServer.java')
-rw-r--r--plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServer.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServer.java b/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServer.java
index d63749e5f..d9f15dfe5 100644
--- a/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServer.java
+++ b/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/TomcatServer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2013 IBM Corporation and others.
+ * Copyright (c) 2003, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -118,6 +118,8 @@ public class TomcatServer extends ServerDelegate implements ITomcatServer, ITomc
tcConfig = new Tomcat70Configuration(folder);
else if (id.indexOf("80") > 0)
tcConfig = new Tomcat80Configuration(folder);
+ else if (id.indexOf("90") > 0)
+ tcConfig = new Tomcat90Configuration(folder);
else {
throw new CoreException(new Status(IStatus.ERROR, TomcatPlugin.PLUGIN_ID, 0, Messages.errorUnknownVersion, null));
}
@@ -171,6 +173,8 @@ public class TomcatServer extends ServerDelegate implements ITomcatServer, ITomc
tcConfig = new Tomcat70Configuration(folder);
else if (id.indexOf("80") > 0)
tcConfig = new Tomcat80Configuration(folder);
+ else if (id.indexOf("90") > 0)
+ tcConfig = new Tomcat90Configuration(folder);
else {
throw new CoreException(new Status(IStatus.ERROR, TomcatPlugin.PLUGIN_ID, 0, Messages.errorUnknownVersion, null));
}

Back to the top