728x90
NetBeans 7.0 and 7.1 UML plugin
If you are using NetBeans 7.0 or 7.1, you probably can't find your UML plugin any more in the default repository.
From what I can read on the net, the team is working on the plugin rewriting it, and this will take a while.
The problems are:
This solution will only let you generate a pretty UML diagram from your code.
Thanks to Matthew W. Johnson for this solution.
From what I can read on the net, the team is working on the plugin rewriting it, and this will take a while.
Semi-broken solution
There is another way to install it, but beware, the plugin will be semi-broken, so jump down to another solution if you like to generate a pretty UML diagram from your code:- by the menu navigate to Tools -> Plugins;
- select the "Settings" tab;
- click the "Add" button;
- as URL copy the following into the textbox:
http://dlc.sun.com.edgesuite.net/netbeans/updates/6.9/uc/m1/dev/catalog.xml
Now on the tab "Available Plugins" there should be UML in category UML.
The problems are:
- "reverse engineering" command seem to work but you can't open the files;
- you can write a class diagram and work on it, but when you open your project next time you will unable to open the diagram again.
Another solution
You can use yWorks UML Doclet community edition.This solution will only let you generate a pretty UML diagram from your code.
- Download the library from here;
- right click on your java project in project explorer within NetBeans;
- click on "Properties";
- select Build => Documenting;
- on "Additional Javadoc Options" textbox paste the following (beware, I'm under windows):
-docletpath "<yworks-uml-doclet-path>\lib\ydoc.jar" -resourcepath "<yworks-uml-doclet-path>\resources" -doclet ydoc.doclets.YStandard -umlautogen
Where <yworks-uml-doclet-path> is the path of the yworks-uml-doclet folder.
In my case <yid> is:
E:\Users\retek\dev\lib\java\yworks-uml-doclet\yworks-uml-doclet-3.0_01-jdk1.5 - click "OK";
- right click on your java project in project explorer within NetBeans;
- click Generate Javadoc;
Thanks to Matthew W. Johnson for this solution.
728x90
'콤퓨타 > JAVA' 카테고리의 다른 글
[GUI] mysql에서 데이터를 가져와서 table에 뿌리기 (0) | 2013.02.20 |
---|---|
[GUI] Panel에 이미지 띄우기 (0) | 2013.02.20 |
자바 디컴파일러 (0) | 2013.02.20 |
hashmap 관련 (0) | 2013.02.20 |
빈 줄 인식 (0) | 2013.02.20 |
댓글