Configuration system directory structure and configuration
In order from low to high priority: Global (configHome) -> Projects -> Modules:
CONFIG_HOME\ |--bin\ |--cfgs\ |--classes\ |--dist\ |--lib\ |--logs\ |--plugins\ |--projects\ | |--<project_xxx> | | |--cfgs\ | | |--classes\ | | |--lib\ | | |--logs\ | | |--modules\ | | | |--<module_xxx> | | | | |--cfgs\ | | | | |--classes\ | | | | |--lib\ | | | | |--logs\ | | | | |--plugins\ | | | | |--<......> | | | |--<......> | | |--plugins\ | |--<......> |--temp\ |--......
Module configuration
Configure system module initialization parameters, add the following configuration items to the ymp-conf.properties file as needed, otherwise the module will use the default configuration for initialization :
#------------------------------------- # 配置体系模块初始化参数 #------------------------------------- # 配置体系根路径,必须绝对路径,前缀支持${root}、${user.home}和${user.dir}变量,默认为${root} ymp.configs.configuration.config_home= # 项目名称,做为根路径下级子目录,对现实项目起分类作用,默认为空 ymp.configs.configuration.project_name= # 模块名称,此模块一般指现实项目中分拆的若干子项目的名称,默认为空 ymp.configs.configuration.module_name= # 指定配置体系下的默认配置文件分析器,默认为net.ymate.platform.configuration.impl.DefaultConfigurationProvider ymp.configs.configuration.provider_class=