@@ -144,6 +144,7 @@ except Configure.ConfigurationError,e:
144144
145145conf .env .AGENTPATH = _join (conf .env .PACKAGE ,"agent" )
146146conf .env .CPPATH = _join (conf .env .PACKAGE ,"console-proxy" )
147+ conf .env .IPALLOCATORPATH = _join (conf .env .PACKAGE ,"ipallocator" )
147148conf .env .MSPATH = _join (conf .env .PACKAGE ,"management" )
148149conf .env .USAGEPATH = _join (conf .env .PACKAGE ,"usage" )
149150conf .env .SETUPPATH = _join (conf .env .PACKAGE ,"setup" )
@@ -259,6 +260,34 @@ conf.env.CLASSPATH = pathsep.join(compilecp)
259260conf .check_message_2 ('Done' ,'GREEN' )
260261
261262# log4j config and property config files require backslash escapes on Windows
263+ conf .env .VERSION = Utils .g_module .VERSION
264+
265+ conf .env .AGENTLIBDIR = Utils .subst_vars (_join ("${LIBDIR}" ,"${AGENTPATH}" ),conf .env )
266+ conf .env .AGENTSYSCONFDIR = Utils .subst_vars (_join ("${SYSCONFDIR}" ,"${AGENTPATH}" ),conf .env )
267+ conf .env .AGENTLOGDIR = Utils .subst_vars (_join ("${LOCALSTATEDIR}" ,"log" ,"${AGENTPATH}" ),conf .env )
268+
269+ conf .env .USAGELOGDIR = Utils .subst_vars (_join ("${LOCALSTATEDIR}" ,"log" ,"${USAGEPATH}" ),conf .env )
270+ conf .env .USAGESYSCONFDIR = Utils .subst_vars (_join ("${SYSCONFDIR}" ,"${USAGEPATH}" ),conf .env )
271+
272+ conf .env .CPLIBDIR = Utils .subst_vars (_join ("${LIBDIR}" ,"${CPPATH}" ),conf .env )
273+ conf .env .CPSYSCONFDIR = Utils .subst_vars (_join ("${SYSCONFDIR}" ,"${CPPATH}" ),conf .env )
274+ conf .env .CPLOGDIR = Utils .subst_vars (_join ("${LOCALSTATEDIR}" ,"log" ,"${CPPATH}" ),conf .env )
275+
276+ conf .env .IPALLOCATORLIBDIR = Utils .subst_vars (_join ("${LIBDIR}" ,"${IPALLOCATORPATH}" ),conf .env )
277+ conf .env .IPALLOCATORSYSCONFDIR = Utils .subst_vars (_join ("${SYSCONFDIR}" ,"${IPALLOCATORPATH}" ),conf .env )
278+ conf .env .IPALLOCATORLOGDIR = Utils .subst_vars (_join ("${LOCALSTATEDIR}" ,"log" ,"${IPALLOCATORPATH}" ),conf .env )
279+
280+ conf .env .MSLOG = _join (conf .env .MSLOGDIR ,"management-server.log" )
281+ conf .env .APISERVERLOG = _join (conf .env .MSLOGDIR ,"api-server.log" )
282+ conf .env .AGENTLOG = _join (conf .env .AGENTLOGDIR ,"agent.log" )
283+ conf .env .USAGELOG = _join (conf .env .USAGELOGDIR ,"usage.log" )
284+ conf .env .CPLOG = _join (conf .env .CPLOGDIR ,"console-proxy.log" )
285+ conf .env .IPALOCATORLOG = _join (conf .env .IPALLOCATORLOGDIR ,"ipallocator.log" )
286+
287+ conf .env .SETUPDATADIR = Utils .subst_vars (_join ("${DATADIR}" ,"${SETUPPATH}" ),conf .env )
288+
289+ conf .env .SERVERSYSCONFDIR = Utils .subst_vars (_join ("${SYSCONFDIR}" ,"${SERVERPATH}" ),conf .env )
290+
262291if conf .env .DISTRO in ["Windows" ]:
263292 for log in "MSLOG APISERVERLOG AGENTLIBDIR USAGELOG AGENTLOG" .split (): conf .env [log ] = conf .env [log ].replace ("\\ " ,"\\ \\ " )
264293
0 commit comments