Bug 208654 - Setting build path variable denoting external folder is not intuitive
Summary: Setting build path variable denoting external folder is not intuitive
Status: VERIFIED DUPLICATE of bug 182537
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.4 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 143457
  Show dependency tree
 
Reported: 2007-11-03 01:17 EDT by Qiu Yin CLA
Modified: 2009-08-31 10:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Qiu Yin CLA 2007-11-03 01:17:18 EDT
Setting build path variable denoting external folder is not intuitive enough in eclipse-based products. Say we want
to define a build path variable named CM_COMMON_DIR which denotes the external folder "C:\IBM\db2cmv8\cmgmt".
If we define it in the project build path using the "Add variable" button, the project will not build and
complain that variable is denoting an external folder. To successfully add this kind of variable, we have to follow
the following steps in the build path configuration page.

1. Click "Add Class Folder" button in the build path configuration page and then click "Create New
Folder".
2. In the popup dialog, click "Advanced..." to show the advanced options.
3. Check "Link to folder in the file system" and then click "Variables...".
4. In this new dialog click "New..." to create a new path variable.

The above steps create a path variable which denotes an external folder and also a class folder linked to this variable.

Customers might be confused with the concepts of "path variable" and "classpath variable". And it is not convenient to remove or modify the path variables.

Build path variables can only point to external archives (.zip or .jar file) but not external folders in eclipse platform. It might be better to consolidate the approaches of adding a variable pointing to an archive and adding one pointing to an external folder. We can create a link folder behind the scene if the user tries to add a variable denoting to an external folder in the build path.
Comment 1 Jerome Lanneluc CLA 2007-11-13 04:51:20 EST
See also bug 182537.
Comment 2 Jerome Lanneluc CLA 2008-08-22 12:18:43 EDT
Fix for bug 182537 actually fixed this bug.

*** This bug has been marked as a duplicate of bug 182537 ***
Comment 3 David Audel CLA 2008-09-16 07:43:02 EDT
Verified for 3.5M2