Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 377095
Collapse All | Expand All

(-)serverui/org/eclipse/wst/server/ui/internal/DeleteServerDialog.java (-2 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2003, 2011 IBM Corporation and others.
2
 * Copyright (c) 2003, 2012 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 17-22 Link Here
17
import java.util.List;
17
import java.util.List;
18
18
19
import org.eclipse.core.resources.IFolder;
19
import org.eclipse.core.resources.IFolder;
20
import org.eclipse.core.resources.IResource;
20
import org.eclipse.core.resources.IResourceRuleFactory;
21
import org.eclipse.core.resources.IResourceRuleFactory;
21
import org.eclipse.core.resources.ResourcesPlugin;
22
import org.eclipse.core.resources.ResourcesPlugin;
22
import org.eclipse.core.runtime.IProgressMonitor;
23
import org.eclipse.core.runtime.IProgressMonitor;
Lines 173-180 Link Here
173
								
174
								
174
								if (checked) {
175
								if (checked) {
175
									size = configs.length;
176
									size = configs.length;
176
									for (int i = 0; i < size; i++)
177
									for (int i = 0; i < size; i++) {
178
										configs[i].refreshLocal(IResource.DEPTH_INFINITE, monitor);
177
										configs[i].delete(true, true, monitor);
179
										configs[i].delete(true, true, monitor);
180
									}
178
								}
181
								}
179
							} catch (Exception e) {
182
							} catch (Exception e) {
180
								if (Trace.SEVERE) {
183
								if (Trace.SEVERE) {

Return to bug 377095