Bug 67631 - Project builder is becoming
Summary: Project builder is becoming
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 3.0 RC3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 69341 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-17 10:00 EDT by Marco Qualizza CLA
Modified: 2005-11-15 04:34 EST (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 Marco Qualizza CLA 2004-06-17 10:00:34 EDT
I have a project which, through a classpath variable, uses an external folder as
a source folder.  As of 200406170800, I get the error "Required Library cannot
denote external folder: ..." followed by "This project cannot be build until
build path errors are resolved".  This requirement that files exist in an
Eclipse workspace is becoming... unreasonable.  Please fix this, as it renders
Eclipse completely unusable for me (and anybody else who has this type of setup).
Comment 1 Philipe Mulet CLA 2004-06-17 10:16:17 EDT
Please explain how this setup was helping you. Basically, this wasn't 
supported before, and we were not flagging it. Now we do, and prevent building.

You may do 2 things to bring your setup back to legal mode:
- mount external directory as linked folder, then you can add it to build path
- allow the Java builder to ignore and proceed on build path errors.

These external folders were ignored by the JavaModel, the Java builder and 
causing grief to the search implementation (see bug 64646).
Comment 2 Marco Qualizza CLA 2004-06-17 10:28:40 EDT
This is probably the wrong forum and time for me to rant against Eclipse's
(ill-conceived) workspace orientation.  I'll change my setup to make things
"legal", and then do my screaming in 4.0.  Thank you. :-)
Comment 3 Philipe Mulet CLA 2004-06-17 11:48:13 EDT
Ok closing then.
Comment 4 Philipe Mulet CLA 2004-07-07 06:46:10 EDT
*** Bug 69341 has been marked as a duplicate of this bug. ***
Comment 5 AJ CLA 2005-11-15 01:34:21 EST
(In reply to comment #3)
> Ok closing then.

Well, I have also faced the same problem. I think this problem needs fixing
rather than shouting back at the users. I have files to be loaded within a
folder within Eclipse workspace, it will not allow adding it. It is not a
project that I have control over the source code and Eclipse workspace
developers cannot assume all projects that are run in Eclipse are developed
using Eclipse.

Comment 6 Philipe Mulet CLA 2005-11-15 03:08:15 EST
See comment 1, first option. You should create a folder linked to actual
location where your sources are. This could be made more transparent in the UI.
Dirk: I believe you made some improvements there, didn't you ?

Note: the resource limitation lies in the platform, not in JDT which is simply
considering as resources whatever the platform tells it.
Comment 7 Dirk Baeumer CLA 2005-11-15 04:34:13 EST
Yes, this got improved with 3.2 M3. There is now a "Link Source" button on the
build path properties page with supports direct linking of external folders.
Additionally there is a Link Source action in the Build Path context menu of the
project.