> >...It would not add it if the file you added to the project were
> >already in one of the existing access paths...
[quoted text clipped - 3 lines]
> specifically DON'T want code to be included from these directories
> unless I explicitly include it in the project.
You can't have a file in a project unless some folder above that file is in your
access paths. That's that.
> Besides, that doesn't explain the duplication, which is still a bug in
> any event.
The duplication is actually easily explained. One way to see the duplication,
which may not be the same as what you are doing, is as follows: you have two
targets in the project, and they both contain a particular file, and then you
remove from one of the access path to that file. The project now no longer has
any way whatsoever to know that those two files in the two targets are the same
file on disk (because you completely prevented the project from knowing where
one of them is by removing the access paths). As a result, the IDE shows you two
files in the project, one of them having an unknown location.
You'd see the same if you added two files with the same name (but in different
locations). You made the location of one file in one target unknown, and the IDE
really has no choice but to treat it as two possibly different files.
You are wrong in believing those access paths are unnecessary. (Where by wrong I
mean not that it's impossible to conceive of an IDE that doesn't use them that
way, but the CW IDE is designed to require an access path for every file in the
project, and you'd better get used to it.)
meeroh

Signature
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>