1
我正在使用plantuml生成UML數字並且有關於評論樣式的問題。 doumgen中的startuml命令與PLANTUML_JAR_PATH
步驟來重現我的問題:
我創建一個名爲mainpage.dox文件,寫這些內容:
/** \mainpage Sender class
* Sender class. Can be used to send a command to the server.
* The receiver will acknowledge the command by calling Ack().
* \startuml
* Sender->Receiver : Command()
* Sender<--Receiver : Ack()
* \enduml
*/
然後,我創建的Doxyfile設置輸出優化的Java或C#,has_dot和PLANTUML_JAR_PATH 。運行doxygen後可以生成UML圖。
然而,炫魅和警告消息沒有任何內容,當我改變註釋風格到C#:
/// \mainpage Sender class
/// Sender class. Can be used to send a command to the server.
/// The receiver will acknowledge the command by calling Ack().
/// \startuml
/// Sender->Receiver : Command()
/// Sender<--Receiver : Ack()
/// \enduml
///
,但會產生主頁(顯示下面的文字),當我刪除了UML評論
/// \mainpage Sender class
/// Sender class. Can be used to send a command to the server.
/// The receiver will acknowledge the command by calling Ack().
\ startuml是否必須使用C風格的評論?感謝您的任何建議。
這是我的Doxyfile:http://pastebin.com/hjEFz8b0
編輯:
我只是評論的另一種風格再次測試。 \ startuml正在使用這種風格
/*! \mainpage Sender class
Sender class. Can be used to send a command to the server.
The receiver will acknowledge the command by calling Ack().
\startuml
Sender->Receiver : Command()
Sender<--Receiver : Ack()
\enduml
*/
由於修復這個bug。 – Bangyou 2014-09-26 20:55:04