官术网_书友最值得收藏!

Importing an already existing project into Eclipse OEPE

Working with Eclipse OEPE, there is often a need to open an already existing OSB project, which is (no longer) in your Eclipse workspace. This recipe will show how to import an existing project. It should be used in all future recipes, when the Getting, ready section asks for importing an existing OSB project as the base for following the recipe.

Getting ready

Make sure that you have access to a working Eclipse OEPE.

How to do it...

In Eclipse OEPE, perform the following steps:

  1. From the File menu select Import.
  2. Type Existing in the Select an import source tree list.
  3. Select Existing Projects into Workspace from the tree and click Next.
  4. Click on the Browse button to specify the root directory from where to import the project.
  5. Navigate to the \chapter-1\getting-ready folder and click on the OK button.
  6. Select the already-existing-osb-project from the list of projects to import and select the Copy projects into workspace option:
    How to do it...
  7. Click on the Finish button.

The project is now imported in Eclipse OEPE but will be placed outside of the OSB Configuration and therefore, will have an error marker.

To move it into the OSB Configuration, just drag the imported already-existing-osb-project in the Project Explorer into the osb-cookbook-configuration project. Now the project is ready to be used.

How it works...

To import the OSB project into Eclipse OEPE, we just used the standard import functionality of Eclipse. In order for that to work, the project needs to have the .project, which is automatically created when using Eclipse OEPE to create an OSB project.

The project has to be moved into the OSB configuration in order to be able to work with it, that is, deploy it to the OSB server. Dragging the project into the OSB configuration is only reflected inside Eclipse, it does not change the location of the files on the disk.

主站蜘蛛池模板: 怀来县| 都江堰市| 井冈山市| 老河口市| 聂荣县| 湛江市| 安仁县| 伊春市| 阿合奇县| 临邑县| 佛教| 公安县| 贡觉县| 扎囊县| 黄骅市| 延庆县| 三都| 钟山县| 固阳县| 泌阳县| 阿巴嘎旗| 惠水县| 泸水县| 措美县| 天全县| 临城县| 绥棱县| 靖边县| 博兴县| 黄大仙区| 盐山县| 鲜城| 冕宁县| 无棣县| 宣汉县| 太和县| 密山市| 垣曲县| 方山县| 汝南县| 封开县|