#!/usr/local/bin/perl use lib "$ENV{'ADE_VIEW_ROOT'}/emcore/scripts/install"; use EMDeployTool; $tool = new EMDeployTool; $tool->initialize(shift,shift); $tool->generateOrionWebXml( "$ENV{'ADE_VIEW_ROOT'}/emcore/sysman/webapps/em/WEB-INF/orion-web.xml.template", "$ENV{'ADE_VIEW_ROOT'}/emcore/sysman/webapps/em/WEB-INF/orion-web.xml"); print "executing cp $ENV{'ADE_VIEW_ROOT'}/emcore/sysman/webapps/em/WEB-INF/orion-web.xml $ENV{'SRCHOME'}/sysman_stage/em/war/WEB-INF/orion-web.xml\n"; system("cp $ENV{'ADE_VIEW_ROOT'}/emcore/sysman/webapps/em/WEB-INF/orion-web.xml $ENV{'SRCHOME'}/sysman_stage/em/war/WEB-INF/orion-web.xml"); if (($^O ne "MSWin32") and ($^O ne "Windows_NT")) { print "executing ln -s $ENV{'ADE_VIEW_ROOT'}/emcore/sysman/webapps/em/WEB-INF/orion-web.xml $ENV{'SRCHOME'}/sysman_stage/em/dev/em/WEB-INF/orion-web.xml\n"; system("ln -s $ENV{'ADE_VIEW_ROOT'}/emcore/sysman/webapps/em/WEB-INF/orion-web.xml $ENV{'SRCHOME'}/sysman_stage/em/dev/em/WEB-INF/orion-web.xml"); }