This document is used by the Eclipse community to help people who encounter problems when they attempt to open the Eclipse package. The contents herein contain the steps and troubleshooting techniques for opening Eclipse packages. This document is not intended for other purposes.
Unleash your inner solver and play the Project, Eclipse puzzle. The goal of the game is to eliminate all tiles by pairing them or placing pairs next to each other that add up to 13 points. In this book, you will learn how to turn on and off the face lights on your glasses, start the Project, Eclipse app, and solve puzzles at different levels of difficulty.
To import an existing Eclipse project
To load existing Eclipse projects in the IDE, you need to import them into the Eclipse workspace.
- Click File > Import > General.
- Click Existing Projects into Workspace.You can edit the project directly in its original location or choose to create a copy of the project in the workspace.
- Before you start the import, Enterprise Developer create a remote connection to be used to access the remote server.This must be the connection that was used to create the remote project.
- Click File > Import > Micro Focus > Remote Projects.
- Click Browse.
- Set Connection to the appropriate connection name.
- Select the directory that contains the projects you want to import.
- Click Finish.This imports the projects into the current workspace and loads them in the IDE.
How to import existing Java projects into Eclipse workspace
It’s very often that you have just downloaded or copied an Eclipse project into your computer and can’t wait to check it out with your pen friend Eclipse IDE. For example, you just downloaded an interesting Spring example project from Codejava.net and want to open it in Eclipse. However, you quickly notice that Eclipse doesn’t have something like File > Open Project. Even when you switched the workspace to the project’s directory, Eclipse still doesn’t recognize the project! Oh, what’s the heck? Well, that’s simply because you haven’t selected the right thing. In Eclipse, to open an existing project which is copied from another source, you need to use its Import function.The Import function can be accessed in three ways:
- The most convenient and quickest way: File > Import… (shortcut: Alt + F + I)
- Or right click on any blank space in Package Explorer view, select Import… from the context menu:
- Or right click on any blank space in Project Explorer view, then select Import > Import… from the context menu:
Regardless of the way you took, Eclipse brings the Import wizard as follows:
Select Existing Projects into Workspace and click Next. The next screen Import projects appears:
Suppose you downloaded an Eclipse project bundled as a zip file, for example: EmailSpringMVC.zip, then select the radio option Select archive file, and click the Browse button to locate the zip file. Eclipse will inspect the zip file and show available projects in the list box. In this case, the project is EmailSpringMVC.Click Finish, Eclipse will extract the archive and copy the files into current workspace, and finally show up the recently imported project in Project Explorer/Package Explorer view:
- In case you don’t have a project zip file, just a project’s directory, you have to select the radio option: Select root directoryand specify the project’s directory path:
- The optionCopy projects into workspacemust be selected (and automatically by Eclipse) when importing projects from a zip archive. If importing from a directory, that option is optional.
Quick Way to Open Closed Project in Eclipse
Sometimes it is all about knowing the simple tricks, even if they might be obvious ;-). In my post “Eclipse Performance Improvement Tip: Close Unused Projects” I explained why it is important to close the ‘not used’ projects in the workspace to improve Eclipse performance:
That’s it! It will open the project which much easier, simpler and faster than using the menu or context menu. Unfortunately I’m not aware of a similar trick to close it. Anyone?
Eclipse: Importing the existing Eclipse project
Import an Eclipse project for the UCM tutorial.
About this task
- In Eclipse, open the ClearTeam Explorer perspective.
- Click File > Import.
- On the Select page of the Import dialog box, select Existing Projects into Workspace in the Select an import source list box and click Next.
- On the Import Projects page of the Import dialog box, verify that the Select root directory option is selected and then click the Browse button for this option.
- In the Browse for Folder dialog box, navigate to the view storage location of the user_name_ccrctut_proj development view and expand the user_name_ccrctut_pvob VOB.
- Select the CCRC_UCM_Tutorial folder and click OK. The CCRC_UCM_Tutorialproject appears in the Projects list box in the Import Projects dialog box.
- Click Finish.
- Click Window > Open Perspective > Other > Java and the CCRC_UCM_Tutorial Eclipse project appears in the ClearTeam Navigator view. If you do not see the ClearTeam Navigator, click Window > Show View > Navigator.
To import the example project files into Eclipse:
- Start Eclipse.
- It is recommended that you create a new workspace for the example projects so that they remain separate from your own projects. There are two ways to create a new workspace:
- When Eclipse launches for the first time, the Workspace Launcher dialog box opens enabling you to select your workspace.
- If Eclipse is already open, select File -> Switch Workspace -> Other… from the main menu.
Enter a new workspace location and click Ok.
- Select File -> Import… from the main menu. The Import dialog opens.
- Expand the General group and select Existing Projects into Workspace.
- Click Next.
- Click Select archive file, then click Browse….
- In the file open dialog, locate the archive file
install_directory/examples/examples.zipand click Open. The Projects panel is populated with a list of all the example projects.
- Select the projects that you want to import. It is recommended that you import all of the projects, to ensure that all dependencies are met.
- Click Finish to import the selected projects into your workspace.
Project Eclipse is on the verge of being released, and we want to make sure that everyone can enjoy it in the best way possible.