facebook

Importing Folders

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #229296 Reply

    bossfn
    Member

    I have a 3 folder project that I would like to import into MyEclipse, but I’m having difficulty doing so.

    The three folders, Test, TestEJB, TestWeb were made by a friend of mine. He told me that I am not required to create a new project, but I should just right click in the Project Workspace and click import>existing file system and
    click the Test, then TestEJB and TestWeb. Thats it no need to create
    new project, just check the references and I’m set.

    However, anytime I try to import the folders, it tells me “Cannot import into a workspace with no open projects. Please create a project before importing.”

    Anyone who can help me, I’d really appreciate it.

    #229297 Reply

    Scott Anderson
    Participant

    Using Import > File System attempts to bring a given folder into an existing project. What you need to do is import the three folders *as* projects. To do this, you need to Import > Existing Project Into Workspace for each of the three folders, Test, TestEJB, TestWeb. This configuration looks like Test is an enterprise project, and the others are corresponding ejb and web projects. After the import, you should have a usable three-project setup for you enterprise application.

    For more information on the project structures and how they work together, please be sure to read our Enterprise Application Projects quickstart that’s located in the application at Help > Help Contents > MyEclipse Application Deveoper Guide or directly from the website here:
    http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/

    #229392 Reply

    bossfn
    Member

    THANK YOU!!!

    I have done this, and it seems to be working perfectly. Now I just have to test it all out. Thanks very much.

    I have one quick follow up quesiton. Is there now a way to save these 3 projects into ONE j2ee ear file?

    #229395 Reply

    Scott Anderson
    Participant

    Is there now a way to save these 3 projects into ONE j2ee ear file?

    I think File > Export > J2EE EAR is what you’re after if you want to save it externally from the workbench. This, however, is the deployable form and doesn’t include source. To get everything you just need to export all three projects to the same zip instead.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Importing Folders

You must be logged in to post in the forum log in