File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes help needed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "help needed." Watch "help needed." New topic

help needed.

satya kiran
Ranch Hand

Joined: Nov 07, 2000
Posts: 52

I am new to websphere. I have installed new WSAD 5.1.1 in my machine. I copied existing project work space (which was generated using same 5.1.1) to my machine.

When i want to open the project it is not showing the project. how can i import the project.

The workspace that i copied is like this.

|________ .Metadata
|_________ Referral
|________ ReferralAdmin
|________ ReferralEJB
|________ ReferralServer
|________ ReferralTest
|________ ReferralWeb
|________ Servers

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.

Thanks in advance for any help.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33134

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
satya kiran
Ranch Hand

Joined: Nov 07, 2000
Posts: 52
Thank you. Your suggestion helped me alot.
I agree. Here's the link:
subject: help needed.
It's not a secret anymore!