Bug 16723 - add jar(s) to build path option on import [build path]
Summary: add jar(s) to build path option on import [build path]
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.1 M3   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-05-22 04:28 EDT by Todd Chambery CLA
Modified: 2002-11-14 06:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Chambery CLA 2002-05-22 04:28:54 EDT
When importing lib jars into my project, I find that I'm always going through 
the same tedious motion to add them to the build path.  I'd like to request a 
checkbox on the import dialog, "add imported items to build path" that would, 
um, add the imported items to the build path.
Comment 1 Erich Gamma CLA 2002-05-24 20:22:37 EDT
there is no need to import JARs you reference them directly on the file system 
(either as an external JAR or via a variable).

Support for a Java aware importer is not planned for 2.0
Comment 2 Todd Chambery CLA 2002-05-28 04:32:15 EDT
Just to clarify why I think importing jars from the filesystem is a useful 
project construction strategy:  one of my chief complaints with VisualAge Java 
was its inability to maintain a common project workspace.  That is, each 
developer was responsible for adding all required projects to the workspace, 
and for maintaining the correct versions of these projects.  Eclipse overcomes 
this with external .jar (or variable reference).  

The flaw here comes from 
 a) developers that do not have network access to a lib directory, or
 b) developers are still responsible for acquiring and maintaining all project-
relevant jars.

By creating a project /lib directory and importing jars into the project (and 
maintaining them in source control), the common project organization is kept 
consistent and complete, and zero time is wasted in configuration.
Comment 3 Erich Gamma CLA 2002-05-28 08:11:53 EDT
correct, I'm not against importing JARs and make them managed, but we still 
have no time for Java aware importer for 2.0
Comment 4 Dirk Baeumer CLA 2002-07-24 05:37:23 EDT
We should not implement a Java aware importer. Instead we should provide an 
action "Add to Build Path" on Jars that aren't already on the build path. This 
give use creater flixibility.

Consider for 2.1
Comment 5 Martin Aeschlimann CLA 2002-10-30 05:00:06 EST
added 'Add to Build Path' action (in context menu on JARs) > 20021029