3.3.2.2. Master Data Input Tool Installation Guide

This section describes how to install the Master Data Input Tool.

3.3.2.2.1. Prerequisites

  • The following must be installed.
    • Eclipse
    • Maven
  • The project must be generated from the Nablarch archetype .
  • Table must be created
  • The table is already created in the backup schema[1]
[1]For information on creating backup schema and its tables, see Environment construction of “Master Data Recovery Function”.

3.3.2.2.2. Method of provision

This tool is provided in nablarch-testing-XXX.jar.

Before using the tool, you compile the project and download the jar file needed to run the tool, so that we can use the same DB settings as the project unit tests. Execute the following command.

mvn compile
mvn dependency:copy-dependencies -DoutputDirectory=lib

Download the following file and extract the file with the directory to the project directory (where the pom.xml exists).

The configuration file included in the above ZIP file is shown below.

File name Description
tool/db/data/master_data-build.properties Configuration property file
tool/db/data/master_data-build.xml Ant build file
tool/db/data/master_data-log.properties Log output property file
tool/db/data/master_data-app-log.properties Log output property file
tool/db/data/MASTER_DATA.xlsx Master data file

3.3.2.2.2.1. Rewrite a property file

Configure the backup schema name used by the master data automated recovery function.

# Master data backup schema name for test
masterdata.test.backup-schema=nablarch_test_master

Other configuration values do not need to be modified as long as the directory structure remains the same.

3.3.2.2.2.2. Placement

Place it directly under <main project>.

3.3.2.2.3. Integration configuration with Eclipse

This tool can be launched from Eclipse with the following settings.

3.3.2.2.3.1. Launch Ant view

From the toolbar, select Window(ウィンドウ) → Show View(ビューの表示) to open the Ant view.

../../../../../../_images/open_ant_view.png

3.3.2.2.3.2. Build file registration

Click the + icon and select the build script.

../../../../../../_images/register_build_file.png

Select the Ant build file (master_data-build.xml).

../../../../../../_images/select_build_file.png

Confirm that the registered build files are displayed in the Ant view.

../../../../../../_images/build_file_in_view.png