This chapter presents the built-in functionally and features of DMK.
Alias & Variable Management
The aliases and the variables are declared in the %DMK_HOME%\etc\dmk.conf. The dmk.conf file is split in two sections: GLOBAL and WLS_DOMAIN.
All these steps match to a section from the “%DMK_HOME%\etc\dmk.conf” file. Which are defined by brackets “[…]”, example follows:
[GLOBAL]
##
## WebLogic settings to manually update
##
var::WEBLOGIC_BASE::=::nooption::"D:\app\weblogic":: # location of weblogic software installation
var::WEBLOGIC_CNF::=::nooption::"D:\app\weblogic\local\etc\weblogic_domains.conf":: #
var::MW_CONFIG_HOME::=::nooption::"E:\\app\weblogic\config":: # location of weblogic domains
var::JAVA_HOME::=::nowarn::"D:\\app\java\jdk1.8.0_91":: # location of weblogic domains
##
##
## below those lines, all environment variables are automatically set
##
var::WLST_JAVA_OPTIONS::=::nowarn::"-Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.TrustKeyStore=DemoTrust"
var::WEBLOGIC_DOMAIN_DEF_DIR::=::nooption::"${WEBLOGIC_BASE}\local\etc":: # location of weblogic domains definition files
var::DMK_WEBLOGIC_BIN_WLST_DIR::=::nooption::${DMK_HOME}\wlst":: # location of weblogic domains definition files
var::WEBLOGIC_DOMAIN_BIN_DIR::=::nooption::"${DMK_HOME}\bin":: # location of weblogic domains definition files
[WLS_DOMAIN]
alias::cda::var_noforce::'cd ${WEBLOGIC_DOMAIN_HOME}'::
var::WEBLOGIC_DOMAIN_DEF::=::nooption::"${WEBLOGIC_BASE}\local\etc\${WEBLOGIC_DOMAIN}":: # location of weblogic domains definition files
alias::cdc::var_noforce::'cd ${WEBLOGIC_DOMAIN_DEF}':: [WLS_DOMAIN]
var::WEBLOGIC_DOMAIN_DEF::=::nowarn::"${WEBLOGIC_BASE}\local\etc\${WEBLOGIC_DOMAIN}":: # location of weblogic domains definition files
alias::cda::var_noforce::'cd ${WEBLOGIC_DOMAIN_HOME}'::
alias::cdc::var_noforce::'cd ${WEBLOGIC_DOMAIN_DEF}'::
alias::vic::var_noforce::'vi.exe ${WEBLOGIC_DOMAIN_DEF}\domain.properties'::
The WebLogic section {WLS_DOMAIN] is set specially for the WebLogic Domains environment. If aliases or variables overwrite a defined one from any other section it will be re-initialized by switching to next environment.