Dear all,

I recently started using PlantUML and had an issue where my diagrams
were processed fine on Windows 7 (running Doxygen 1.8.9.1), but not on
Xubuntu 14.04.2 LTS (also running Doxygen 1.8.9.1). Both systems had the
exact same plantuml.jar.

On Linux, I got the error message:
Error line 2 in file: doxydoc/html/inline_umlgraph_1.pu
Some diagram description contains errors

The file mentioned in the error message contained started with:
@startuml skiparam class{


My documentation looked like:
/// @startuml "UML scheme for reading JSON streams"
/// skinparam class{
/// BackgroundColor White
/// ArrowColor Black
/// BorderColor Black
/// }

So the first line after the @startuml tag was appended to the first line
containing the @startuml tag. Apparently, PlantUML does not like that.
If you add an extra empty line, the errors disappear and Doxygen builds
the diagram correctly:

/// @startuml "UML scheme for reading JSON streams"
///
/// skinparam class{
/// BackgroundColor White
/// ArrowColor Black
/// BorderColor Black
/// }

This is probably a bug, but easily worked around with the extra empty
line. I hope this helps other people who like to use PlantUML in their
documentation.

Best regards,
Willem Bogaerts.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to