[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: starters help conserning import of java files

Morten Herman wrote:

Daniel Megert wrote:



Morten Herman wrote:





I have just recently started using Eclipse as a Java editor, and find it
pretty annoying that i can't import Java files from earlier projects into
new projects. Do anyone know how to do this, then please reply to me.


Sincerely Morten Herman





There are several ways to do this (in 2.1):
- File -> Import...
- to import an existing project: New -> Project -> Java Project - select the directory
- via CVS (if your projects are under CVS control)





What exactly are you missing?





Dani




When already having created a new project, how do i add existing files
to this project?
i don't need to import a project, but eg. two out of ten files from a
different directory.

sincerely Morten


1. Select the existing project (or one of its subfolders) in Eclipse
2. File -> Import...
3. Select "File system"
4. Press "Next"
5. Browse to select the directory from which you want to import files
6. Press "OK"
7. Select the two files you want to import
8. You might want to select "Create selected folders only"
9. Press "Finish"


HTH Dani