This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This is a very very basic question but i saved a couple of small projects in eclipse and i want to open them as java programmes again so i can add to the coding etc, but I do not know how to, i tried going file>open file but it just shows two files that say .classpath and .project and when i open them it comes up with a load of files like project name, description, comment etc. How do i open a file so it shows the code like when you writing a project?
Don't you have a "workspace" folder somewhere? Inside that there will be a folder for each project you have named, and inside that, isn't there a source ("src") folder with your package folders and .java files inside.
The thing about Eclipse is that, if you alter the files inside workspace by some outside means, the changes will be reflected back in Eclipse next time you open it.
Joined: Jul 20, 2010
i went into the source file like cambell said (thankyou) and from there you can open them in eclipse, thanks alot. One other question is not all of my projects have the file in source does this mean i didnt save it properly or something? because sometimes when i went to file the save button was grey (wouldnt let me save) even though i had written quite alot of stuff
when i look through my files the normal way (not through eclipse) i see .settings, bin, src, .classpath and .project, but when i go into source most of them having nothing there, but the first one i made has the .java file which can be opened and you see the code,