Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » "Source Location" disaster
"Source Location" disaster [message #270247] Mon, 13 April 2009 14:52 Go to next message
MichaelChen is currently offline MichaelChenFriend
Messages: 7
Registered: July 2009
Junior Member
Hey, there,

In my C++ project "MYPROJECT", I have sources and head in many subfolders.
I have set "Include Path" to those subfolders, and ctrl+click follows
exactly. however for the "source location", it is very troublesome. If I
only have the MYORJECT folder in this tab, sources in subfolders can not
pop out with ctrl+click. If I set these subfolders in this tab, for
example MYPROJECT/src/subfolder1/subbfolder11, then in the C++
prospective, I will see MYPROJECT/subfolder1/subbfolder11, and I won't see
/subfolder1 if I expand the MYPROJECT/src folder now. But I still can not
access the sources using ctrl+click. So I infer that I should not set up
the MYPROJECT/src/subfolder1/subbfolder11 in the "Source Location" tab,
hence I deleted it. Then in the C++ prospective, I no longer see
MYPROJECT/src/subfolder1/subbfolder11, and I cannot expand MYPROJECT/src
to get the subfolder neither. And i can not get them back to the C++
perspective. The subfoler1 is not deleted from the filesystem though.

Could anybody show me how to correctly set up the source location for a
C++ project with many subfolders? Thanks.

Mike
Re: "Source Location" disaster [message #270253 is a reply to message #270247] Mon, 13 April 2009 17:47 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

I've copied the eclipse.tools.cdt newsgroup where the C/C++ tools gurus
hang out.

Eric


On 4/13/2009 10:52 AM, Mike wrote:
> Hey, there,
>
> In my C++ project "MYPROJECT", I have sources and head in many
> subfolders. I have set "Include Path" to those subfolders, and
> ctrl+click follows exactly. however for the "source location", it is
> very troublesome. If I only have the MYORJECT folder in this tab,
> sources in subfolders can not pop out with ctrl+click. If I set these
> subfolders in this tab, for example
> MYPROJECT/src/subfolder1/subbfolder11, then in the C++ prospective, I
> will see MYPROJECT/subfolder1/subbfolder11, and I won't see /subfolder1
> if I expand the MYPROJECT/src folder now. But I still can not access the
> sources using ctrl+click. So I infer that I should not set up the
> MYPROJECT/src/subfolder1/subbfolder11 in the "Source Location" tab,
> hence I deleted it. Then in the C++ prospective, I no longer see
> MYPROJECT/src/subfolder1/subbfolder11, and I cannot expand MYPROJECT/src
> to get the subfolder neither. And i can not get them back to the C++
> perspective. The subfoler1 is not deleted from the filesystem though.
>
> Could anybody show me how to correctly set up the source location for a
> C++ project with many subfolders? Thanks.
>
> Mike
Previous Topic:Saving CVS Passwords Eclipse 3.4
Next Topic:Using eclipse without a Project
Goto Forum:
  


Current Time: Fri Apr 26 03:18:22 GMT 2024

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

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

Back to the top