Wednesday, April 27, 2011

Grails with UML diagram




กำลังมองหาการสร้าง UML จาก Grails class พอดีไปเจอลิงค์นี้ เยี่ยมมากเลยครับ

To install the plugin into your Grails application simply enter the following command line command.


C:\[???]>grails install-plugin create-domain-uml

To generate a class diagram just enter:

C:\[???]>grails create-domain-uml

??? คือ app ที่ถูกสร้างโดย Grails
พอสร้างเสร็จแล้ว ไป view html ที่สร้างขึ้นมา จะเห็น diagram uml เป็นรูป โดยลิงค์รูปผ่านเวบ http://yuml.me/




No comments:

Post a Comment