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 142102 Details for
Bug 248661
Axis2: Missing required libraries in Axis 2 WS Client Projects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
This patch is superseded by the patch attached to comment#54 (this latter patch also has tests) Olivier/Jerome, could you review this candidate patch to see if this is a realistic test for what is described in the bug ? - Thanks.
patch.txt (text/plain), 1.41 KB, created by
Srikanth Sankaran
on 2009-07-21 03:57:29 EDT
(
hide
)
Description:
This patch is superseded by the patch attached to comment#54 (this latter patch also has tests) Olivier/Jerome, could you review this candidate patch to see if this is a realistic test for what is described in the bug ? - Thanks.
Filename:
MIME Type:
Creator:
Srikanth Sankaran
Created:
2009-07-21 03:57:29 EDT
Size:
1.41 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/ClasspathEntry.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java,v >retrieving revision 1.117 >diff -u -r1.117 ClasspathEntry.java >--- model/org/eclipse/jdt/internal/core/ClasspathEntry.java 21 Apr 2009 04:39:55 -0000 1.117 >+++ model/org/eclipse/jdt/internal/core/ClasspathEntry.java 21 Jul 2009 07:45:23 -0000 >@@ -1960,6 +1960,12 @@ > private static IJavaModelStatus validateLibraryEntry(IPath path, IJavaProject project, String container, IPath sourceAttachment, String entryPathMsg) { > if (path.isAbsolute() && !path.isEmpty()) { > Object target = JavaModel.getTarget(path, true); >+ if (target == null) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=248661 >+ IPath workspaceRoot = ResourcesPlugin.getWorkspace().getRoot().getLocation(); >+ if (workspaceRoot.isPrefixOf(path)) { >+ target = JavaModel.getTarget(path.makeRelativeTo(workspaceRoot).makeAbsolute(), true); >+ } >+ } > if (target != null && !JavaCore.IGNORE.equals(project.getOption(JavaCore.CORE_INCOMPATIBLE_JDK_LEVEL, true))) { > long projectTargetJDK = CompilerOptions.versionToJdkLevel(project.getOption(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, true)); > long libraryJDK = Util.getJdkLevel(target);
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 248661
:
114386
|
116455
|
116456
|
116457
|
120972
|
121074
|
141765
|
141767
|
142102
|
143100
|
143118
|
143864
|
144797
|
144798