intra-mart e Builder for Accel Platform User Operations Guide

«  Module Project Creation   ::   Contents   ::   module.xml  »

Project Setting

Summary

  • This section describes how to associate the project created by e Builder with the development environment.
    Specifically, it is explained how to associate the folder on the server when the debug is started, and
    how to use libraries in the development environment.

Prerequisites

  • Project creation is completed on e Builder.
  • Description of this section assumes imart.war is expanded on Resin.

Server Setting

  • When you debug the source code of the project or use API of intra-mart Accel Platform,
    it is necessary to associate the project with the server for the development environment.
    Following are the necessary steps.
    1. Right click on the target project, and select [Property].

      メニューから設定を選択
    2. In the Project Setting Wizard please select [ e Builder ] → [ Module Assembly ].

    3. To the [Web Archive Directory], specify the folder which was created by expanding war by Resin
      for the development environment.

      • On the screen image below imart folder, which was created by expanding imart.war, is selected.
      Module Assembly 設定画面
    4. Select the folder from the project source, which is a target for deployment.

    5. Press [Apply].

    Column

    In the project created by e Builder, module.xml file is placed which is required for creating the user definition module.
    Error will occur when you try to set the Web Archive Directory if module.xml does not exist.
    The link below describes actions to be taken when module.xml file is lost.
  • By making the association with the server, source code created in the project will be automatically deployed to the server for the
    development environment.
    Please refer to [Auto Deploy Destination when the resource is changed]  for the relationship between deploy origin folder and
    deploy destination source.

Addition of Server Runtime

  • When you do development in JavaEE environment, server library needs to be registered to use the classes for the session.
    This section describes how to individually register server libraries.
    Please note that the debug server to be used for development should be registered in the server view in advance
    in order to perform this operation.
    Please refer to [intra-mart e Builder for Accel Platform Setup Guide] to learn how to do it.

    Column

    In e Builder 2013 Spring or later, Server Runtime and Accel Platform Library are automatically added to the module project,
    when module project is created.
    Please do the setting as shown in the following steps only when it is necessary to set the library individually.
    1. In the Project Setting Wizard, select [Java Build Path].

    2. Select [Library] tag, and press [Add Library] button.

      ライブラリの追加ウィザード
    3. In the library selection, select [Server Runtime] → [Debug Server(Resin v4.0)], and press [Finish].

      サーバー・ランタイム追加ウィザード
    4. Debug server will be added to the Library List. Press [OK] to reflect the library to the project.

      ライブラリの追加ウィザード
    5. A link to the Debug Server is created under the project.

      ライブラリ追加の結果

Accel Platform Library  Setting

  • It is necessary to set the Accel Platform Library in order to use APIs provided by intra-mart in each framework.
    Following are the necessary steps.

    Column

    In e Builder 2013 Spring or later, Server Runtime and Accel Platform Library are automatically added to the module project,
    when module project is created.
    Please do the setting as shown in the following steps only when it is necessary to set the library individually.
    1. In the Project Setting Wizard, select [Java Build Path].

    2. Select [Library] tag, and press [Add Library] button.

    3. In the library selection, select [ Accel Platform Library], check the jar list to be added, and press [OK] button.

      ライブラリ選択画面
    4. Press [OK] button to reflect the library to the project.

      ライブラリの追加ウィザード
    5. A link to Accel Platform Library is created under the project.

      ライブラリ追加の結果

Third Party Library Setting

  • If you want to make the class path to some third party library, you need to create the src/main/WEB-INF/lib folder
    from the root path of module project, and place the target library.
    サードパーティ製ライブラリ追加
  • After placing the library, please expand Accel Platform Library, and confirm that the target library exists.
    If it has not been reflected, you need to right click on Accel Platform Library, display the list from [Property],
    and check if the target library exists.
    サードパーティ製ライブラリの確認

«  Module Project Creation   ::   Contents   ::   module.xml  »