wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes Restore Java project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Restore Java project" Watch "Restore Java project" New topic
Author

Restore Java project

matt love
Ranch Hand

Joined: Jan 25, 2010
Posts: 67
I ran into a problem with my Java Tomcat project and had to delete my project then restore the files from a backup.

So, now the restored files are sitting in the correct directory, but Eclipse doesn't show them.

How do I get Eclipse to "see" the project sitting in the directory?

I'm running Ganymede, 3.4.2.

Thanks.

Matt
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
Projects are not found because of their location in a special folder (i.e. workspace folder). They are shown when they are referenced in the workspace metadata. So you have to import the existing project into the workspace.

Much better: Check-in your projects into a version control system then you can check out easily if something happens. With SVN it is as simple as creating a folder and "declare" it as repository, you don't even need to run a server.
matt love
Ranch Hand

Joined: Jan 25, 2010
Posts: 67
Thanks Hauke.

Which application allows for "creating a folder and "declare" it as repository"?

I suspect it's Tortoise.

Thanks.

Matt

Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
It's an svn feature to access repositories by file protocol without a server, i.e. file:///path/to/myrepo. (with myrepo the folder for the repository to be created) does the job. You can access this by Tortoise, too. If I remember correctly you access it by a folder's context menu -> Tortoise -> Create Repository here.

For me this easy serverless access is very helpful. I even have some USB sticks with different repos instead of "just files".

Oh, but not to be mistaken: This does not solve your existing problem, you just have to import the existing project for now. It's a suggestion for the future.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Restore Java project
 
Similar Threads
automation project creation
Using Eclipse for Web App
Struts 2 with eclipse
eclipse ~~compile java file question
hi, setting .jar file in eclipse