Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Project Explorer - Duplicate entries
Project Explorer - Duplicate entries [message #201109] Tue, 04 September 2007 13:34 Go to next message
Eclipse UserFriend
Originally posted by: someone.nospam.net

I am following my co-workers advise to set-up eclipse in our environment.
they tell me to make a project and uncheck the default directory, then point
to the directory where my source is (or rather one directory up since we
have docs, release, etc directories). So, I did that. The Workspace is
living elsewhere and just seems to contain a .metadata directory. I am told
that is fine, and that eclipse will know where everything is from the
settings I put in. So, I changed all the settings as directed. I assume as
long as the PWD and CWD variables are set to the actual directory where
everything is that I am OK. However, the project explorer is listing
duplicates for everything. I have to source directories, two docs
directories, etc. Everything in the project is listed twice. My co-workers
says it doesn't matter, but I like to make sure everything is set up 100%
the way it is supposed to be. Does anyone have any ideas on what causes
this?
Re: Project Explorer - Duplicate entries [message #201125 is a reply to message #201109] Wed, 05 September 2007 03:39 Go to previous messageGo to next message
Eclipse UserFriend
Christopher Pisz wrote:

> I am following my co-workers advise to set-up eclipse in our environment.
> they tell me to make a project and uncheck the default directory, then point
> to the directory where my source is (or rather one directory up since we
> have docs, release, etc directories). So, I did that. The Workspace is
> living elsewhere and just seems to contain a .metadata directory. I am told
> that is fine, and that eclipse will know where everything is from the
> settings I put in. So, I changed all the settings as directed. I assume as
That's fine. I have the same setup. This is necessary if your projects are
nested and your buildtool (or prebuildtool) depends on this specific
directory structure (the Eclipse workspace does not support a project
hierarchy. All projects are on the same level.).

> everything is that I am OK. However, the project explorer is listing
> duplicates for everything. I have to source directories, two docs
> directories, etc. Everything in the project is listed twice. My co-workers
> says it doesn't matter, but I like to make sure everything is set up 100%
> the way it is supposed to be. Does anyone have any ideas on what causes
> this?
I have the same problem here with the Project Explorer View.
Subdirectories are listed twice. AFAIK it does not cause any problems but
it is annoying. Interestingly, the Navigator View does not have problems
with subdirectories. I will submit a bugreport within the next days. This
problem did not occur in Eclipse 3.2.

Axel
Re: Project Explorer - Duplicate entries [message #201145 is a reply to message #201125] Wed, 05 September 2007 06:32 Go to previous messageGo to next message
Eclipse UserFriend
>> everything is that I am OK. However, the project explorer is listing
>> duplicates for everything. I have to source directories, two docs
>> directories, etc. Everything in the project is listed twice. My co-workers
>> says it doesn't matter, but I like to make sure everything is set up 100%
>> the way it is supposed to be. Does anyone have any ideas on what causes
>> this?
Do you have .project files in the subdirectories that are shown as
duplicates?
Re: Project Explorer - Duplicate entries [message #201154 is a reply to message #201125] Wed, 05 September 2007 08:48 Go to previous messageGo to next message
Eclipse UserFriend
Axel Mueller wrote:

> Christopher Pisz wrote:
>
>> everything is that I am OK. However, the project explorer is listing
>> duplicates for everything. I have to source directories, two docs
>> directories, etc. Everything in the project is listed twice. My
>> co-workers says it doesn't

> I have the same problem here with the Project Explorer View.
> Subdirectories are listed twice. AFAIK it does not cause any problems but
> it is annoying. Interestingly, the Navigator View does not have problems
> with subdirectories. I will submit a bugreport within the next days. This
> problem did not occur in Eclipse 3.2.

That's a well known problem. IIRC there was a fix proposed which was faulty
and a week before the CDT 4.0 release reverted. It caused a lot of
(internal) problems but should not affect the usage.

Jens
Re: Project Explorer - Duplicate entries [message #201170 is a reply to message #201145] Wed, 05 September 2007 11:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: someone.nospam.net

"Axel Mueller" <aegges@web.de> wrote in message
news:181bc46f17d990c3a164b19fd77d2480$1@www.eclipse.org...
>
>>> everything is that I am OK. However, the project explorer is listing
>>> duplicates for everything. I have to source directories, two docs
>>> directories, etc. Everything in the project is listed twice. My
>>> co-workers says it doesn't matter, but I like to make sure everything is
>>> set up 100% the way it is supposed to be. Does anyone have any ideas on
>>> what causes this?
> Do you have .project files in the subdirectories that are shown as
> duplicates?

Nope, .project files are only in the top directory.
Re: Project Explorer - Duplicate entries [message #201195 is a reply to message #201154] Thu, 06 September 2007 09:06 Go to previous messageGo to next message
Eclipse UserFriend
Jens Seidel wrote:
> Axel Mueller wrote:
>
>> Christopher Pisz wrote:
>>
>>> everything is that I am OK. However, the project explorer is listing
>>> duplicates for everything. I have to source directories, two docs
>>> directories, etc. Everything in the project is listed twice. My
>>> co-workers says it doesn't
>
>> I have the same problem here with the Project Explorer View.
>> Subdirectories are listed twice. AFAIK it does not cause any problems but
>> it is annoying. Interestingly, the Navigator View does not have problems
>> with subdirectories. I will submit a bugreport within the next days. This
>> problem did not occur in Eclipse 3.2.
>
> That's a well known problem. IIRC there was a fix proposed which was faulty
> and a week before the CDT 4.0 release reverted. It caused a lot of
> (internal) problems but should not affect the usage.
>
> Jens

This is probably bug 194395:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194395

HTH
--
Anton Leherbauer
Wind River CDT Team, Austria
Re: Project Explorer - Duplicate entries [message #201211 is a reply to message #201195] Fri, 07 September 2007 02:27 Go to previous message
Eclipse UserFriend
Anton Leherbauer wrote:
> This is probably bug 194395:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=194395
Yes that's it. The duplicated directories are excluded folders. Good to
see that it is fixed :) Thanks.

Axel
Previous Topic:How to configure eclipse CDT in order to get to my code error with icc or icpc intel compiler unde
Next Topic:Qt Debug error
Goto Forum:
  


Current Time: Mon Jun 02 16:10:14 EDT 2025

Powered by FUDForum. Page generated in 0.03552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top