# The thermostat1 collection depends on the mongodb collection
# for the mongo-java-driver and on the rh-java-commmon collection
# for shared dependencies. We need to source the enable script
# in order for xmvn builds to work.
. scl_source enable rh-mongodb26 rh-java-common

# Generic variables
export PATH="/opt/rh/thermostat1/root/usr/bin:${PATH:-/bin:/usr/bin}"
export MANPATH="/opt/rh/thermostat1/root/usr/share/man:${MANPATH}"

# Needed by Java Packages Tools to locate java.conf
export JAVACONFDIRS="/opt/rh/thermostat1/root/etc/java:${JAVACONFDIRS:-/etc/java}"

# Required by XMvn to locate its configuration file(s)
export XDG_CONFIG_DIRS="/opt/rh/thermostat1/root/etc/xdg:${XDG_CONFIG_DIRS:-/etc/xdg}"

# Not really needed by anything for now, but kept for consistency with
# XDG_CONFIG_DIRS.
export XDG_DATA_DIRS="/opt/rh/thermostat1/root/usr/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
