jQuery in Action, 3rd edition
The moose likes IDEs, Version Control and other tools and the fly likes Question About Eclipse (Basic) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Question About Eclipse (Basic)" Watch "Question About Eclipse (Basic)" New topic

Question About Eclipse (Basic)

daniel cassidy

Joined: Jul 20, 2010
Posts: 14
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?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

What do you see when you look direct in your file system (not through Eclipse) ?? does the project look correct with all sources, or do you only see the .classpath and .project ??

Regards, Rene Larsen
Dropbox Invite
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46397
Moving to our IDEs forum.

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.
daniel cassidy

Joined: Jul 20, 2010
Posts: 14
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,
David Newton

Joined: Sep 29, 2008
Posts: 12617

We have no way of knowing how your Eclipse is set up, what your project's properties are, where you stored your files, etc.
I agree. Here's the link: http://aspose.com/file-tools
subject: Question About Eclipse (Basic)
It's not a secret anymore!