Skip to main content
1-Visitor
March 29, 2011
Question

environment variables in siteprefs.xml

  • March 29, 2011
  • 0 replies
  • 575 views
Hi,

We are currently testing "EPIC-5.4-M080".
In the documentation we found that it is possible to use a "sitprefs.xml" and reference this file through the environment variable APTDEPLOYPATH.

In the siteprefs.xml there is a part of the form:

<environmentvariables>

<variable name="" value=""/">
</environmentvariables>


We want to add as many as possible APT environment variables in this "siteprefs.xml" so every user has the same settings.

However if we add the APTCATPATH variable, apparently EPIC doesn't catches it.
If we add APTCATPATH outside this siteprefs.xml (where we define APTDEPLOYPATH) Epic finds the catalog.

The weird thing is if it is set in siteprefs.xml and I run the following code on the Epic commandline:
for ($a in $main::ENV) {
if (match($a, "APT"))
{$z=$z . "\n" . $a . "=" . $main::ENV["$a"]}
} ;
eval $z;
unsetvar z;

I see the APTCATPATH set but Epic can't find the DTD's.

Any clue?

Kind regards,
Michiel