* --group={groupname} */ ini_set("memory_limit", "512M"); error_reporting(E_ALL); $code = array(); $uiConfIds = array(); $tokenValues = array(); //$argv = array( 1=> "--ini=c:/web/flash/kmc/v4.0.4/config.ini", 2 => "--no-create"); //used to teswt inside the zend studio $arguments = uiConfDeployment::setArguments($argv); $includeCode = $arguments['include-code']; $skipAddUiconf = $arguments['no-create']; //error_reporting(0); $confObj = uiConfDeployment::init($arguments['ini']); // get and read the config file uiConfDeployment::checkArguments($arguments); uiConfDeployment::$baseTag = $confObj->general->component->name; // gets the application name for the default tags uiConfDeployment::$defaultTags = "autodeploy, " . uiConfDeployment::$baseTag . "_" . $confObj->general->component->version; // create the uiConf default tags (for ui confs of the application) uiConfDeployment::$partnerId = $arguments['partner']; if ($includeCode) { $code = uiConfDeploymentCodeGenerator::generateCode(); } uiConfDeployment::deprecateOldUiConfs(uiConfDeployment::$defaultTags); //deploy all the ui confs uiConfDeployment::deploy($confObj); uiConfDeployment::setTemplatePartner(); if ($includeCode) { foreach (uiConfDeployment::$tags_search as $tag) { $code[] = '$this->' . uiConfDeployment::$baseTag . '_uiconfs_' . $tag . ' = $this->' . uiConfDeploymentCodeGenerator::SEARCH_BY_TAG_FUNCTION_NAME . '("' . uiConfDeployment::$baseTag . '_' . $tag . '");'; }