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.
Right click on the target project, and select [Property].
In the Project Setting Wizard please select [ e Builder ] → [ Module Assembly ].
To the [Web Archive Directory], specify the folder which was created by expanding war by Resin
for the development environment.Select the folder from the project source, which is a target for deployment.
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.
In the Project Setting Wizard, select [Java Build Path].
Select [Library] tag, and press [Add Library] button.
In the library selection, select [Server Runtime] → [Debug Server(Resin v4.0)], and press [Finish].
Debug server will be added to the Library List. Press [OK] to reflect the library to the project.
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.
In the Project Setting Wizard, select [Java Build Path].
Select [Library] tag, and press [Add Library] button.
In the library selection, select [ Accel Platform Library], check the jar list to be added, and press [OK] button.
Press [OK] button to reflect the library to the project.
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.