Bug 13581 - Too many steps to attach source to a JAR
Summary: Too many steps to attach source to a JAR
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 10388 13889 (view as bug list)
Depends on: 15423
Blocks:
  Show dependency tree
 
Reported: 2002-04-11 17:21 EDT by Peter Burka CLA
Modified: 2002-05-14 13:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Burka CLA 2002-04-11 17:21:23 EDT
Build 20020321

When you open a .class file which doesn't have source associated with it, you 
get an empty editor.  If you want to see source you must:

- switch to the Packages view
- find the .class file (if you don't have the Link Packages view to current 
selection option turned on)
- find the enclosing JAR file
- change the JAR's properties to attach source to it
- open the .class file again (see Bug 13579)

It would be nice if there were a button, or a hyper-link in the (otherwise 
empty) .class file editor which would let you associate source with the JAR.  
There's nothing displayed in the editor, anyway, so why not use the real-
estate for something useful?
Comment 1 Claude Knaus CLA 2002-05-08 11:26:50 EDT
*** Bug 10388 has been marked as a duplicate of this bug. ***
Comment 2 Claude Knaus CLA 2002-05-08 11:28:39 EDT
partially fixed >= 20020509.
The attach source button is disabled until 15423 is fixed.
Comment 3 Claude Knaus CLA 2002-05-08 12:02:09 EDT
*** Bug 13889 has been marked as a duplicate of this bug. ***
Comment 4 Claude Knaus CLA 2002-05-14 13:36:25 EDT
fixed >= 20020414-N
Comment 5 Claude Knaus CLA 2002-05-14 13:38:33 EDT
Note that it still depends on 14113. After changing the source attachment,
the editor of the class file shuts down. This won't happen when 14113 is fixed.