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 166877 Details for
Bug 311448
random build/compile error due to out of sync files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Initial refresh fix
bug311448.patch (text/plain), 2.11 KB, created by
Carl Anderson
on 2010-05-03 17:56:55 EDT
(
hide
)
Description:
Initial refresh fix
Filename:
MIME Type:
Creator:
Carl Anderson
Created:
2010-05-03 17:56:55 EDT
Size:
2.11 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.j2ee.core >Index: mofj2ee/org/eclipse/jst/j2ee/common/internal/impl/XMLResourceImpl.java >=================================================================== >RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/internal/impl/XMLResourceImpl.java,v >retrieving revision 1.8.6.1 >diff -u -r1.8.6.1 XMLResourceImpl.java >--- mofj2ee/org/eclipse/jst/j2ee/common/internal/impl/XMLResourceImpl.java 18 Feb 2010 02:53:35 -0000 1.8.6.1 >+++ mofj2ee/org/eclipse/jst/j2ee/common/internal/impl/XMLResourceImpl.java 3 May 2010 21:53:51 -0000 >@@ -305,7 +305,7 @@ > { > workspace.newWorkingTree(); > } >- ((org.eclipse.core.internal.resources.Resource)file).getLocalManager().refresh(file, IResource.DEPTH_ZERO, true, null); >+ ((org.eclipse.core.internal.resources.Resource)file).getLocalManager().refresh(file.getProject(), IResource.DEPTH_INFINITE, true, null); > } catch (CoreException e) { > throw new org.eclipse.emf.ecore.resource.Resource.IOWrappedException(e); > } >#P org.eclipse.wst.common.modulecore >Index: modulecore-src/org/eclipse/wst/common/componentcore/internal/ModuleStructuralModel.java >=================================================================== >RCS file: /cvsroot/webtools/common/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/ModuleStructuralModel.java,v >retrieving revision 1.46.4.4.2.2 >diff -u -r1.46.4.4.2.2 ModuleStructuralModel.java >--- modulecore-src/org/eclipse/wst/common/componentcore/internal/ModuleStructuralModel.java 22 Oct 2009 12:56:27 -0000 1.46.4.4.2.2 >+++ modulecore-src/org/eclipse/wst/common/componentcore/internal/ModuleStructuralModel.java 3 May 2010 21:53:52 -0000 >@@ -289,7 +289,7 @@ > try { > // OK wait to get workspace root before refreshing > Job.getJobManager().beginRule(root, null); >- compFile.refreshLocal(IResource.DEPTH_ONE, null); >+ compFile.getProject().refreshLocal(IResource.DEPTH_INFINITE, null); > } catch (CoreException ce) { > // ignore > } finally {
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
Actions:
View
|
Diff
Attachments on
bug 311448
: 166877