Link to home
Create AccountLog in
Avatar of Axter
AxterFlag for United States of America

asked on

Eclipse (Opening project files)

I'm primarily a C++ developer, with most of my experience using VC++.  In VC++ when you want to open a project, you select a *.vcproj or *.sln.

I can't seem to figure out what is project file equivalent in Eclipse.
When I move a folder containing all the Java Project files to another machine, I'm not able to get the project open using Eclipse.
When I run Eclipse, it ask for a path, which I give it top level folder path to my project.
After which, I select Project Explorer, and nothing is listed.

What do I have to do to get Eclipse to see the project?

FYI:  I have no problems view the project on the original machine I created the project in.
 
ASKER CERTIFIED SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Axter

ASKER

This somewhat work.
I follow the instructions, and I got a screen showing that it was importing the project.  However, it stayed on that screen for over 30 minutes.  The screen continue to show some activity, but never completed.
I finally clicked cancel.  The Package Explore window now shows my project, but I see a progress bar on the bottom right showing "Refreshing Workspace".

1. Do you have any idea why Eclipse would take so long to import the project?
2. What's the down side to canceling the import?
3. Isn't there a cleaner and faster way to do this?

This seems to be very inefficient and convoluted.  I'm sure the next time I have to do this I'm not going to remember these instructions, and I'll have to come back to my question and re-read your answer.
I don't understand why they couldn't make such a common task simpler to perform.


I don't know - it actually imported very quickly for me, but I had very simple project and from the same version of ecloipse etc.
Myabe you can try it first on a simple project
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Axter

ASKER

Thanks
Avatar of Axter

ASKER

>>I don't know - it actually imported very quickly for me,
I found out this morning why it was taking so long, and why it failed at the end for me.
My previous attempts to try to open the project (before following your directions), caused an endless recursion of the project folder path.  The project folder had a sub folder with the same name as the project, and that sub folder had a sub folder with the same name of the project, and so on.  It nearly filled up the drive.

I'm not sure exactly what I did to cause it, but after deleting the sub folder, I was able to import the project with no problems.

Thanks for the help.