HOR-3700-RG-4

This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-08-18 16:19:59 -04:00
parent 0c721afe25
commit ab2ff78008
2 changed files with 6 additions and 6 deletions

View File

@@ -413,9 +413,12 @@ abstract class AbstractPropelDataModelTask extends TaskPhing {
$this->log("Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.", PROJECT_MSG_ERR);
} else {
// normalize the document using normalizer stylesheet
$xslStyleSheet = new DOMDocument();
$xslStyleSheet->load($this->xslFile->getAbsolutePath());
$xsl = new XsltProcessor();
$xsl->importStyleSheet(DomDocument::load($this->xslFile->getAbsolutePath()));
$xsl->importStyleSheet($xslStyleSheet);
$transformed = $xsl->transformToDoc($dom);
$newXmlFilename = substr($xmlFile->getName(), 0, strrpos($xmlFile->getName(), '.')) . '-transformed.xml';

View File

@@ -1855,11 +1855,8 @@ class WorkspaceTools
$stop = microtime(true);
CLI::logging("<*> Migrating an populating indexing for APP_CACHE_VIEW process took " . ($stop - $start) . " seconds.\n");
$start = microtime(true);
CLI::logging("> Updating generated class files for PM Tables...\n");
self::fixReferencePathFiles(PATH_DATA_SITE . "classes", PATH_DATA);
$stop = microtime(true);
CLI::logging("<*> Updating generated class files for PM Tables took " . ($stop - $start) . " seconds.\n");
//Updating generated class files for PM Tables
passthru('./processmaker regenerate-pmtable-classes ' . $workspace->name);
mysql_close($link);
}