Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Changing the type of folder
Changing the type of folder [message #227258] Tue, 25 November 2008 14:13 Go to next message
Eclipse UserFriend
Hi,

IS it possible to change the type of a folder from forder to source
folder? If a folder is not a sourcefolder I cannot generate a class in it?

TIA

Joost
Re: Changing the type of folder [message #227265 is a reply to message #227258] Wed, 26 November 2008 02:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Joost Kraaijeveld wrote:
> Hi,
>
> IS it possible to change the type of a folder from forder to source
> folder? If a folder is not a sourcefolder I cannot generate a class in it?
>
> TIA
>
> Joost
File->New->Source folder and give it the name of an existing folder.


--
Derek
Re: Changing the type of folder [message #227301 is a reply to message #227265] Wed, 26 November 2008 13:28 Go to previous messageGo to next message
Eclipse UserFriend
Derek wrote:
>
> File->New->Source folder and give it the name of an existing folder.

That seems to work, but now I have 2 folders with the same name and
content in my project...

Strange. Is that by design?

I could get the second (new) one to get away by excluding it from the build.

Joost
Re: Changing the type of folder [message #227338 is a reply to message #227258] Thu, 27 November 2008 05:14 Go to previous messageGo to next message
Eclipse UserFriend
hmm, not sure if I got you right, but all source folders are listed in the
properties of a project. Open the project properties, browse to the "c/c++
general" / "paths and symbols" section. select the "source location" tab
page, there you'll find all source folders of your project. By clicking on
"add folder", you can select an existing, non-source folder from your
project and transform it to a source folder (the). Hope this helps!

sth_Weird
Re: Changing the type of folder [message #227397 is a reply to message #227338] Fri, 28 November 2008 01:40 Go to previous message
Eclipse UserFriend
sth_Weird wrote:
> hmm, not sure if I got you right, but all source folders are listed in
> the properties of a project. Open the project properties, browse to the
> "c/c++ general" / "paths and symbols" section. select the "source
> location" tab page, there you'll find all source folders of your
> project. By clicking on "add folder", you can select an existing,
> non-source folder from your project and transform it to a source folder
> (the). Hope this helps!


It did: now the source folders are source folder again. Thanks

Joost
Previous Topic:regular expression error parser
Next Topic:"Launch failed. Binary not found." question
Goto Forum:
  


Current Time: Wed Apr 30 21:19:52 EDT 2025

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

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

Back to the top