Skip to main content



      Home
Home » Newcomers » Newcomers » Adding folders to a project?
Adding folders to a project? [message #140305] Sat, 25 February 2006 23:27 Go to next message
Eclipse UserFriend
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 08:46 Go to previous messageGo to next message
Eclipse UserFriend
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 #140328 is a reply to message #140305] Sun, 26 February 2006 08:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dalroth5.hotmail.com

Hello again.

Sorry, for 'Project View' please read 'Package Explorer'. My mistake.
Re: Adding folders to a project? [message #140334 is a reply to message #140323] Sun, 26 February 2006 10:33 Go to previous messageGo to next message
Eclipse UserFriend
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] Sun, 26 February 2006 19:10 Go to previous messageGo to next message
Eclipse UserFriend
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] Sun, 26 February 2006 20:02 Go to previous message
Eclipse UserFriend
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
Previous Topic:Eclipse IDE set to jdk 1.5...need to change it to point to jdk 1.4
Next Topic:How know JDK Eclipse running in?
Goto Forum:
  


Current Time: Thu Feb 27 20:47:17 EST 2025

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

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

Back to the top