Bug 38619 - Source attachment not correctly detected.
Summary: Source attachment not correctly detected.
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-06 18:54 EDT by MG CLA
Modified: 2003-08-26 14:13 EDT (History)
0 users

See Also:


Attachments
This is the test java file that uses the HTTPClient.jar (445 bytes, text/plain)
2003-06-06 18:55 EDT, MG CLA
no flags Details
the classfile library (202.43 KB, application/octet-stream)
2003-06-06 18:55 EDT, MG CLA
no flags Details
source file library (212.01 KB, application/octet-stream)
2003-06-06 18:56 EDT, MG CLA
no flags Details
my classpath file (347 bytes, text/plain)
2003-06-06 18:56 EDT, MG CLA
no flags Details
my project file (380 bytes, text/plain)
2003-06-06 18:57 EDT, MG CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description MG CLA 2003-06-06 18:54:22 EDT
Create a new project with the following files.  

Press F3 on one of the HTTPClient class imports.  It says "Source not found, the
source attachment does not contain the source for the file HTTPConnection.class".

Note that I created the class lib using the source files in the source lib and
also not that both files have the same directory structure.
Comment 1 MG CLA 2003-06-06 18:55:19 EDT
Created attachment 5106 [details]
This is the test java file that uses the HTTPClient.jar
Comment 2 MG CLA 2003-06-06 18:55:46 EDT
Created attachment 5107 [details]
the classfile library
Comment 3 MG CLA 2003-06-06 18:56:08 EDT
Created attachment 5108 [details]
source file library
Comment 4 MG CLA 2003-06-06 18:56:47 EDT
Created attachment 5109 [details]
my classpath file
Comment 5 MG CLA 2003-06-06 18:57:05 EDT
Created attachment 5110 [details]
my project file
Comment 6 Darin Wright CLA 2003-08-06 15:54:23 EDT
For some reason, the provided jar/zip files are not in a format that Eclipse 
can read. However, this is a pure source attachemnt issue (not debug). Moving 
to JDT-CORE for comment.
Comment 7 Olivier Thomann CLA 2003-08-06 16:01:19 EDT
I will investigate.
Comment 8 Olivier Thomann CLA 2003-08-06 16:43:04 EDT
This is fixed in latest integration build or Eclipse build 2.1.1. Using one of
these builds I can use F3 on HTTPConnection in the import declaration and
successfully get its source.

Ok to close? 
Comment 9 Olivier Thomann CLA 2003-08-26 14:13:11 EDT
Closing.
Please reopen if you still get a problem with the latest integration build.