Monday, March 13, 2017

Changing Environment Variables

The default environment variables can be changed with the help of the following methods

  • For a particular ant call, for example: ant all -DHYBRIS_CONFIG_DIR=
  • Using set/export from the console eg. set HYBRIS_CONFIG_DIR= or export HYBRIS_CONFIG_DIR=
  • platform/env.properties file is having the following environment variable
    • HYBRIS_BIN_DIR=${platformhome}/../../bin
    • HYBRIS_CONFIG_DIR=${platformhome}/../../config
    • HYBRIS_DATA_DIR=${platformhome}/../../data
    • HYBRIS_LOG_DIR=${platformhome}/../../log
    • HYBRIS_TEMP_DIR=${platformhome}/../../temp/hybris
    • platformhome.properties file in all the extension directory is having platformhome value defined
  • conf/wrapper.conf, wrapper-debug.conf, wrapper-jprofiler.conf, wrapper-minimal.conf, wrapper-yourkitprofiler.conf files are having the following properties
    • wrapper.java.additional.29=-DHYBRIS_BIN_DIR="C:\hybris6\hybris\bin"
    • wrapper.java.additional.30=-DHYBRIS_CONFIG_DIR="C:\hybris6\hybris\config"
    • wrapper.java.additional.31=-DHYBRIS_DATA_DIR="C:\hybris6\hybris\data"
    • wrapper.java.additional.32=-DHYBRIS_LOG_DIR="C:\hybris6\hybris\log"
    • wrapper.java.additional.33=-DHYBRIS_TEMP_DIR="C:\hybris6\hybris\temp\hybris" 


Reference
https://help.hybris.com/6.3.0/hcd/8be84a1686691014b4b2e69a3a01897b.html

No comments:

Post a Comment