Editing the Setting File¶
Following setting files are edited to operate intra-mart Accel Kaiden!.
Note
Please execute [ Editing the Setting File] of "intra-mart Accel Platform Setup Guide" in advance.
Topics
SAStruts Setting Files¶
In intra-mart Accel Kaiden!, SAStruts+S2JDBC framework are utilized.Setting changes and confirmation for utilizing SAStruts+S2JDBC framework are described in this section.
app.dicon¶
By executing the following steps in "intra-mart Accel Platform Setup Guide", include of [s2jdbc.dicon] is enabled.After doing the settings above, [app.dicon] should be edited again.
Double-click and open the <classes/app.dicon> file in [ProjectNavigator]. Add the settings according to the applications of intra-mart Accel Kaiden! to be used.Warning
Please do either one of the followings for adding the settings.If multiple settings are performed at the same time, applications of intra-mart Accel Kaiden! do not work properly.
- In case only intra-mart Accel Kaiden! framework is used
- In case intra-mart Accel Kaiden! framework + intra-mart Accel Kaiden! workflow are used
- In case only intra-mart Accel Kaiden! framework is used
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.4//EN" "http://www.seasar.org/dtd/components24.dtd"> <components> <include path="convention.dicon"/> <include path="aop.dicon"/> <include path="j2ee.dicon"/> <include path="s2jdbc.dicon"/> <include path="kaiden_framework.dicon"/> <component name="actionMessagesThrowsInterceptor" class="org.seasar.struts.interceptor.ActionMessagesThrowsInterceptor"/> </components>Added part
<include path="kaiden_framework.dicon"/>
- In case intra-mart Accel Kaiden! framework + intra-mart Accel Kaiden! workflow are used
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.4//EN" "http://www.seasar.org/dtd/components24.dtd"> <components> <include path="convention.dicon"/> <include path="aop.dicon"/> <include path="j2ee.dicon"/> <include path="s2jdbc.dicon"/> <include path="kaiden_workflow.dicon"/> <component name="actionMessagesThrowsInterceptor" class="org.seasar.struts.interceptor.ActionMessagesThrowsInterceptor"/> </components>Added part
<include path="kaiden_workflow.dicon"/>
s2jdbc.dicon¶
After deploying the war file, it is necessary to set dialect in order to define which database should be used by s2jdbc.dicon.Please move the definition of <property name=”dialect”> outside the comment depending on the database to be connected, and enable it.Please refer to http://s2container.seasar.org/2.4/ja/s2jdbc_setup.html to find out which dialect should be set for the database to be used.Note
Contents stated above ae described in the following steps (column) of "intra-mart Accel Platform Setup Guide".
intra-mart Accel Kaiden! Platform Module¶
Setting of intra-mart Accel Kaiden! Platform Module which is included in intra-mart Accel Kaiden! framework is described here.
Module Setting¶
Double-click [juggling.im] in [ProjectNavigator].
From the [Setting File] tab, select [intra-mart Accel Kaiden! Platform Module] - [Module Setting], and click [Output] on the right.When output has been generated, <conf/kaiden2/BaseSettings.xml> file is displayed in [ProjectNavigator]. Double-click and open <conf/kaiden2/BaseSettings.xml> file in [ProjectNavigator], and select [Source] tab. When [Source] tab is displayed, please edit it.For the details of editing contents, please refer to [Setting File Reference - Kaiden! Platform Module - Module Setting].
Route Search Setting¶
Double-click [juggling.im] in [ProjectNavigator].
From the [Setting File] tab, select [intra-mart Accel Kaiden! Platform Module] - [Route Search Setting], and click [Output].When output has been generated, <conf/kaiden2/RouteSearchSettings.xml> file is displayed in [ProjectNavigator]. Double-click and open <conf/kaiden2/RouteSearchSettings.xml> file in [ProjectNavigator], and select [Source] tab. When [Source] tab is displayed, please edit it.For the details of editing contents, please refer to [Setting File Reference - Kaiden! Platform Module - Route Search Setting].
駅すぱあと (Web Version) Setting¶
Double-click [juggling.im] in [ProjectNavigator].
From the [Setting File] tab, select [intra-mart Accel Kaiden! Platform Module] -[駅すぱあと (Web Version) Setting], and click [Output] on the right.When output has been generated, <conf/kaiden2/EkispertWebSettings.xml> file is displayed in [ProjectNavigator]. Double-click and open <conf/kaiden2/EkispertWebSettings.xml> file in [ProjectNavigator], and select [Source] tab. When [Source] tab is displayed, please edit it.For the details of editing contents, please refer to [Setting File Reference - Kaiden! Platform Module - 駅すぱあと (Web Version) Setting].
intra-mart Accel Kaiden! Workflow Module¶
Setting of intra-mart Accel Kaiden! Workflow Module which is included in intra-mart Accel Kaiden! Workflow is described here.
Module Setting¶
Double-click [juggling.im] in [ProjectNavigator].
From the [Setting File] tab, select [intra-mart Accel Kaiden! Workflow Module] - [Module Setting], and click [Output] on the right.When output has been generated, <conf/kaiden2/ProductWorkflowSettings.xml> file is displayed in [ProjectNavigator]. Double-click and open <conf/kaiden2/ProductWorkflowSettings.xml> file in [ProjectNavigator], and select [Source] tab. When [Source] tab is displayed, please edit it.For the details of editing contents, please refer to [Setting File Reference - Kaiden! Workflow Module - Module Setting].