Adding folders to a project? [message #140305] |
Sun, 26 February 2006 04:27 |
Eclipse User |
|
|
|
Originally posted by: cjlesh.gmail.com
Is there any way to add a folder to a project, so that any files
pre-existing in that folder (or later generated into that folder) are
automatically added to a project?
|
|
|
Re: Adding folders to a project? [message #140323 is a reply to message #140305] |
Sun, 26 February 2006 13:46 |
Eclipse User |
|
|
|
Originally posted by: dalroth5.hotmail.com
Hello there.
Yes.
If you already have a folder with things in it:
Right click on the project in the project view and follow Import->File
System.
If you just want a new folder to put things into:
Right click on the project in the project view and follow New->Source Folder
(or Folder if it isn't going to contain source code).
HTH
|
|
|
|
Re: Adding folders to a project? [message #140334 is a reply to message #140323] |
Sun, 26 February 2006 15:33 |
Eclipse User |
|
|
|
Originally posted by: cjlesh.gmail.com
Thanks.
Actually, I didn't ask my question clearly. I am wondering if 'directory
tracking' is possible. Let's say I have a directory in my project, and a
bunch of files are automatically generated into it, is there a way eclipse
could detect those changes, and automatically add those files to the
project?
|
|
|
Re: Adding folders to a project? [message #140376 is a reply to message #140334] |
Mon, 27 February 2006 00:10 |
Eclipse User |
|
|
|
Originally posted by: dalroth5.hotmail.com
Well, if you have already imported the folder as suggested above, all you'll
need to do to have Eclipse show the new files in the Package Explorer (PE)
is to right-click on the folder, or a parent folder, or the project and do
a 'Refresh'. (I use this all the time when nicking source files from the
examples into my own project. Don't tell anybody though. :)
Also, if Eclipse isn't actually running when the new files appear in the
folder, I think they'll show up when you next launch Eclipse because I
think Eclipse probably refreshes the PE view on launch.
|
|
|
Re: Adding folders to a project? [message #140382 is a reply to message #140376] |
Mon, 27 February 2006 01:02 |
Eclipse User |
|
|
|
Originally posted by: ed.ed4becky.org
> Also, if Eclipse isn't actually running when the new files appear in the
> folder, I think they'll show up when you next launch Eclipse because I
> think Eclipse probably refreshes the PE view on launch.
That is a configuration option in
Windows>>Preferences>>General>>Startup/Shutdown
|
|
|
Powered by
FUDForum. Page generated in 0.08657 seconds