Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
2eece646
Commit
2eece646
authored
Sep 16, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #226 from albert-github/feature/plantuml_include
Support plantuml !include statement
parents
c9a69180
bbb6bb21
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
config.xml
src/config.xml
+8
-0
plantuml.cpp
src/plantuml.cpp
+18
-1
No files found.
src/config.xml
View file @
2eece646
...
...
@@ -3311,6 +3311,14 @@ to be found in the default search path.
java can find the \c plantuml.jar file. If left blank, it is assumed PlantUML is not used or
called during a preprocessing step. Doxygen will generate a warning when it encounters a
\ref cmdstartuml "\\startuml" command in this case and will not generate output for the diagram.
]]>
</docs>
</option>
<option
type=
'list'
id=
'PLANTUML_INCLUDE_PATH'
format=
'dir'
defval=
''
depends=
'HAVE_DOT'
>
<docs>
<![CDATA[
When using plantuml, the specified paths are searched for files specified by the \c !include
statement in a plantuml block.
]]>
</docs>
</option>
...
...
src/plantuml.cpp
View file @
2eece646
...
...
@@ -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
+=
"
\"
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment