Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / August 2004



Tip: Looking for answers? Try searching our database.

IDE Bug in 9.3 -- IDE duplicates ALL source files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Stafford - 29 Aug 2004 22:22 GMT
I'm building a project which uses select files from another large
source-tree. Every time I add a file, the IDE adds a silly & useless
path my access-paths/user-paths panel. If I remove this new user path
-- which I wish to do to prevent massive cluttering -- my project
suddenly gets duplicate entries for all source files. One of each pair
of duplicate files cannot be located (ie, double click & get an
error). The other looks OK.

Making this all the more annoying, if you remove the double-clickable
entry from the project, it also removes the other entry, leaving me
having to remember where the darned file was and re-add it to the
project.

This is MASSIVELY FRUSTRATING, since there appears to be NO WAY to
remove these ludicrous user-paths without corrupting my project.

Running the latest update (9.3) of codewarrior mac.
Miro Jurisic - 29 Aug 2004 22:48 GMT
> I'm building a project which uses select files from another large
> source-tree. Every time I add a file, the IDE adds a silly & useless
> path my access-paths/user-paths panel.

It is not useless. If you believe it's useless, you are wrong. Stop removing it
and figure out _why_ the IDE is adding it. It would not add it if the file you
added to the project were already in one of the existing access paths.

meeroh

Signature

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

Mike Stafford - 30 Aug 2004 02:57 GMT
>...It would not add it if the file you added to the project were
>already in one of the existing access paths...

There is nothing else in the directory I need, since I've added the
things I DO need to the project. In fact, in this project, I
specifically DON'T want code to be included from these directories
unless I explicitly include it in the project.

Besides, that doesn't explain the duplication, which is still a bug in
any event.
Miro Jurisic - 30 Aug 2004 05:33 GMT
> >...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>

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.