| Author |
Restore Java project
|
matt love
Ranch Hand
Joined: Jan 25, 2010
Posts: 65
|
|
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: 371
|
|
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: 65
|
|
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: 371
|
|
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.
|
 |
 |
|
|
subject: Restore Java project
|
|
|