Skip to content

Commit

Permalink
PLANTUML_RUN_JAVA_ONCE is working well. But some specific plantuml ha…
Browse files Browse the repository at this point in the history
…s error on ver 1.8.15
  • Loading branch information
Charles.Lee committed Aug 29, 2018
1 parent 0e3a86d commit aeff95e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plantuml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ QCString writePlantUMLSource(const QCString &outDir,const QCString &fileName,con
QCString imgName(4096);
static int umlindex=1;

//printf("*** %s fileName: %s\n","writePlantUMLSource",qPrint(fileName));
Debug::print(Debug::Plantuml,0,"*** %s fileName: %s\n","writePlantUMLSource",qPrint(fileName));
Debug::print(Debug::Plantuml,0,"*** %s outDir: %s\n","writePlantUMLSource",qPrint(outDir));

Expand Down Expand Up @@ -103,6 +104,7 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
QCString pumlExe = "java";
QCString pumlArgs = "";

//printf("*** %s %s\n","generatePlantUMLOutput",baseName);
QStrList &pumlIncludePathList = Config_getList(PLANTUML_INCLUDE_PATH);
char *s=pumlIncludePathList.first();
if (s)
Expand Down Expand Up @@ -503,7 +505,7 @@ void PlantumlManager::print(QDict<QCString> &PlantumlContent)
for (it.toFirst();(nb=it.current());++it)
{
Debug::print(Debug::Plantuml,0,"*** %s PlantumlContent key:%s\n","PlantumlManager::print",qPrint(it.currentKey()));
Debug::print(Debug::Plantuml,0,"*** Content :%s\n\n\n",qPrint(*nb));
Debug::print(Debug::Plantuml,0,"*** Content :%s\n",qPrint(*nb));
}
}
}
Expand All @@ -525,7 +527,7 @@ void PlantumlManager::addPlantumlContent(QDict< QCString > &PlantumlContent,cons
QCString* content = PlantumlContent.find(key);
if(content == 0){
content = new QCString("");
m_pngPlantumlContent.insert(key,content);
PlantumlContent.insert(key,content);
}
(*content)+=puContent;
}
Expand Down

0 comments on commit aeff95e

Please sign in to comment.