This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
The directories ReferralWeb,Servers has the .project file in them.
Here what i tried:
1. created a directory NEWPROJ in C:\ 2. While Starting WSAD i selected this workspace. 3. I selected File --> Import --->Existing Project into workspace 4. Tried to select the copied workspace (it didntwork and asked me to select the files with .project) 5. Then i imported the ReferralWeb,Servers directories to my new workspace. 6. I tried to "Import File System" to select the remaining directories and it didnt work.
It looks like silly but i am experiencing this problem. I tried to search in the google but could not get any results.
Satya, It's not a silly question at all. Normally what you tried (copying the workspace) works. It is a problem when the workspace gets corrupt. If you have the projects in version control, it is easiest to import them from there. I'm guessing you don't from the rest of the question. So here is what to do:
1) Create a new workspace with nothing in it. (make sure your old workspace is copied somewhere else.) 2) Create 7 empty projects of the appropriate types (web project, ejb project, ...) with the same names as before 3) In your operating system, copy the 7 project folders (but not the .metadata folder) 4) Select all projects in workspace, right click and refresh.