diff options
author | albert-github <albert.tests@gmail.com> | 2014-09-07 17:12:57 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2014-09-07 17:12:57 (GMT) |
commit | bbb6bb217a2feb7b9b961037072f06ff1024a0ef (patch) | |
tree | bfe4a9234f2bb3de5ba5cf7da3007b8997acef9d /src/plantuml.cpp | |
parent | af14bab65f67d66b65f2ddf5c5d76a96f23cd447 (diff) | |
download | Doxygen-bbb6bb217a2feb7b9b961037072f06ff1024a0ef.zip Doxygen-bbb6bb217a2feb7b9b961037072f06ff1024a0ef.tar.gz Doxygen-bbb6bb217a2feb7b9b961037072f06ff1024a0ef.tar.bz2 |
Support plantuml !include statement
Support the plantuml !include statement by using the newly defined PLANTUML_INCLUDE_PATH
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r-- | src/plantuml.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp index 7e2863e..166be73 100644 --- a/src/plantuml.cpp +++ b/src/plantuml.cpp @@ -56,7 +56,24 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp static QCString plantumlJarPath = Config_getString("PLANTUML_JAR_PATH"); QCString pumlExe = "java"; - QCString pumlArgs = "-Djava.awt.headless=true -jar \""+plantumlJarPath+"plantuml.jar\" "; + QCString pumlArgs = ""; + + QStrList &pumlIncludePathList = Config_getList("PLANTUML_INCLUDE_PATH"); + char *s=pumlIncludePathList.first(); + if (s) + { + pumlArgs += "-Dplantuml.include.path=\""; + pumlArgs += s; + s = pumlIncludePathList.next(); + } + while (s) + { + pumlArgs += portable_pathListSeparator(); + pumlArgs += s; + s = pumlIncludePathList.next(); + } + if (pumlIncludePathList.first()) pumlArgs += "\" "; + pumlArgs += "-Djava.awt.headless=true -jar \""+plantumlJarPath+"plantuml.jar\" "; pumlArgs+="-o \""; pumlArgs+=outDir; pumlArgs+="\" "; |