Import the sample Project into Eclipse



In this section you will learn how to import the sample project inside your workspace and set up the required dependencies. The goal of importing this sample project is to understand how the Omondo Profile extension works.

Download the project: com.omondo.uml.profile.example

Unzip the linked file inside your workspace (unzip into % eclipse\workspace % ). Check that the following files have been added to your com.omondo.uml.profile.example folder.





 

To import a project inside Eclipse workspace, click the left mouse button on the background of the Navigator Explorer (you can also use the java perspective and click on the Package Explorer background) > right click to open the popup menu > Import.


 

Select Existing Project into Workspace and click on the Next button.


 

Select the com.omondo.uml.profile.example folder and click on the finish button.


 

Note that the project has been imported successfully. Some errors appear because all dependencies with other projects and plugins have not been added yet. We need therefore to import all related dependencies to this project.

Select the com.omondo.uml.profile.example project in the package explorer, right click to open the popup menu > Import.


 

Select External Plug-ins and Fragments and click on the Next button.


 

Under the Plug-ins and Fragments to Import heading, select Import plug-ins and fragments required by existing workspace plug-ins. Keep the default selection and click on the Next button.


 

Select com.omondo.uml.profile.example in the left pane under the existing non-binary workspace plug-ins heading, click on Select All and check in the left pane under the Plug-ins and Fragments to import heading that they have been selected. Click on the Finish button.


 

The plug-ins and fragments are being imported...


 

Note that all selected projects have been imported inside the workspace but the sample project is still in error state.


 

Select the com.omondo.uml.profile.example project, right click to open the popup menu > Properties.


 

Select Java Build Path in the left pane, the Projects tab and click on the Select All button.


 

Click on the Libraries tab and select the Add Library button and check that the JRE System Library is available.

 


If the Java run time was not automatically selected, you should click on the Add Library button and then select JRE System Library and click on the Finish button.


 

Click on the OK button to close the properties dialog for com.omondo.uml.profile.example project.


 

The com.omondo.uml.profile.example project is now error-free.

 

 

We have successfully imported the com.omondo.uml.profile.example project and can now launch a new instance of the workbench to run this example.




 
Last update Mon Feb 02 16:11:12 CEST 2005 Valid XHTML 1.0 Valid CSS All text, graphics © 2002-2005 by Omondo