Bug 313271

Summary: [build path] dialogs for attaching source/documentation should default to location of associated JAR
Product: [Eclipse Project] JDT Reporter: Hollis Waite <hwaite>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: fix candidate

Description Hollis Waite CLA 2010-05-17 21:53:06 EDT
Build Identifier: M20100211-1343

When configuring 'Java Build Path' for a project, user is given opportunity to attach javadoc and src folder/archive to a library. In terms of path, most JARs are in close proximity to their associated source and documentation. Consequently, the "Source Attachment Configuration" and "Javadoc Location Selection" dialogs should default to the container directory of the active JAR.

Reproducible: Always

Steps to Reproduce:
1. Open 'Properties' dialog for a project.
2. Select "Java Build Path" tree node.
3. Select 'Libraries' tab.
4. If no JARs exist, add one.
5. Expand JAR's tree node.
6. Select 'Source attachment' or 'Javadoc location' node.
7. Click 'Edit' button.
8. Click 'Browse' button.
Comment 1 Dani Megert CLA 2010-05-18 04:45:48 EDT
It works for the external source location but not for Workspace locations and not for Javadoc.