HOR-3700-RG-4
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user