intra-mart e Builder for Accel Platform User Operations Guide

«  Project Setting   ::   Contents   ::   Program Development  »

module.xml

Summary

  • This section describes the module meta data file (module.xml).

module.xml

  • module.xml is necessary to create user definition module.
    module.xml is usually placed at the root directory of module project.
    module.xml

Module Editor

  • If module.xml is selected,  [Module Editor] view, which is a dedicated editor for module.xml, is displayed.
    Function of each tab is shown below.
  • [Summary] Tab
    Basic information of module such as Artifact ID and Version are displayed.
    Name, vendor, and description are defined on the message property file for each locale immediately under the module project.
    概要タブ
  • [Dependency] Tab
    It sets the module the module project depends on.
    依存関係タブ
  • [Layer of Dependency] Tab
    For the modules set on [Dependency] tab, dependency among modules is displayed in a layer structure.
    依存関係の階層タブ
  • [module.xml] Tab
    module.xml file is displayed by XML Editor.
    module.xmlタブ

In case Dependent Module is updated to the latest status

If war file is re-generated by Juggling and the project on Web archive directory is updated,
initialization would be necessary if dependent modules are updated.
Select [Initialize] on the [Dependency] tab, and set the dependency again.
依存するモジュールを最新に更新

In case module.xml is Deleted

In case module.xml has been deleted from the project, please take the following steps to restore it.
  1. Please create [ module.xml ] immediately under the project.

  2. Open module.xml, and display the [ module.xml ] tab.  Then, please copy the following format description to module.xml.

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <module xmlns="urn:intramart:jackling:module" xmlns:conf="urn:intramart:jackling:toolkit:configurations" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" conf:schemaLocation="urn:intramart:jackling:toolkit:configurations configurations.xsd" xsi:schemeLocation="urn:intramart:jackling:module module.xsd">
    
    	<id>${group_id}.${artifact_id}</id>
    	<version>${version}</version>
    	<type>module</type>
    
    	<name>${module.name}</name>
    	<vendor>${module.vendor}</vendor>
    	<description>${module.description}</description>
    
    	<!-- Specify the following only if you prohibit the change or if it is a third-party module -->
    	<tags>
    		<tag>immutable</tag>
    		<tag>3rd-party</tag>
    	</tags>
    
    	<dependencies>
    		<dependency>
    		</dependency>
    	</dependencies>
    
    </module>
    
  3. Please enter the following character string which matches with the input contents when the project was created.

${group_id} Project Group ID
${artifact_id} Project Artifact ID (project name)
${version} project Version Number

«  Project Setting   ::   Contents   ::   Program Development  »