Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 214183 Details for
Bug 377095
FileNotFound and ResourceExceptions when Deleting Servers Configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
v1.0
377095patch.txt (text/plain), 1.71 KB, created by
Elson Yuen
on 2012-04-18 10:29:50 EDT
(
hide
)
Description:
v1.0
Filename:
MIME Type:
Creator:
Elson Yuen
Created:
2012-04-18 10:29:50 EDT
Size:
1.71 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.server.ui >Index: serverui/org/eclipse/wst/server/ui/internal/DeleteServerDialog.java >=================================================================== >RCS file: /cvsroot/webtools/servertools/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/DeleteServerDialog.java,v >retrieving revision 1.19.8.2 >diff -u -r1.19.8.2 DeleteServerDialog.java >--- serverui/org/eclipse/wst/server/ui/internal/DeleteServerDialog.java 16 Aug 2011 14:48:34 -0000 1.19.8.2 >+++ serverui/org/eclipse/wst/server/ui/internal/DeleteServerDialog.java 18 Apr 2012 14:29:03 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2003, 2011 IBM Corporation and others. >+ * Copyright (c) 2003, 2012 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 >@@ -17,6 +17,7 @@ > import java.util.List; > > import org.eclipse.core.resources.IFolder; >+import org.eclipse.core.resources.IResource; > import org.eclipse.core.resources.IResourceRuleFactory; > import org.eclipse.core.resources.ResourcesPlugin; > import org.eclipse.core.runtime.IProgressMonitor; >@@ -173,8 +174,10 @@ > > if (checked) { > size = configs.length; >- for (int i = 0; i < size; i++) >+ for (int i = 0; i < size; i++) { >+ configs[i].refreshLocal(IResource.DEPTH_INFINITE, monitor); > configs[i].delete(true, true, monitor); >+ } > } > } catch (Exception e) { > if (Trace.SEVERE) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
eyuen7
:
iplog+
eyuen7
:
review+
Actions:
View
|
Diff
Attachments on
bug 377095
: 214183