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 86043 Details for
Bug 213723
JDT not resolving classpath references to jars in other projects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Solution idea
patch.txt (text/plain), 1.92 KB, created by
Krzysztof Daniel
on 2008-01-02 19:15:58 EST
(
hide
)
Description:
Solution idea
Filename:
MIME Type:
Creator:
Krzysztof Daniel
Created:
2008-01-02 19:15:58 EST
Size:
1.92 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java,v >retrieving revision 1.122.4.1 >diff -u -r1.122.4.1 JavaBuilder.java >--- model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java 22 Dec 2006 16:03:32 -0000 1.122.4.1 >+++ model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java 3 Jan 2008 00:10:09 -0000 >@@ -597,6 +597,12 @@ > boolean abortBuilds = > JavaCore.ABORT.equals(javaProject.getOption(JavaCore.CORE_JAVA_BUILD_INVALID_CLASSPATH, true)); > if (!abortBuilds) return true; >+ >+ if (isClasspathBroken(javaProject.getRawClasspath(), currentProject)) { >+ if(currentProject instanceof JavaProject){ >+ ((JavaProject)currentProject).forceClasspathReload(new NullProgressMonitor()); >+ } >+ } > > // Abort build only if there are classpath errors > if (isClasspathBroken(javaProject.getRawClasspath(), currentProject)) { >Index: model/org/eclipse/jdt/internal/core/JavaProject.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java,v >retrieving revision 1.370 >diff -u -r1.370 JavaProject.java >--- model/org/eclipse/jdt/internal/core/JavaProject.java 2 May 2006 15:01:33 -0000 1.370 >+++ model/org/eclipse/jdt/internal/core/JavaProject.java 3 Jan 2008 00:10:09 -0000 >@@ -1324,7 +1324,7 @@ > * <li> The classpath is being modified during resource change event notification (CORE_EXCEPTION) > * </ul> > */ >- protected void forceClasspathReload(IProgressMonitor monitor) throws JavaModelException { >+ public void forceClasspathReload(IProgressMonitor monitor) throws JavaModelException { > > if (monitor != null && monitor.isCanceled()) return; >
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 213723
:
85735
|
85736
|
86043
|
86055
|
86093
|
86316
|
86327