15.07.2013 Views

jgrasp handbook

jgrasp handbook

jgrasp handbook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.4 Generating Documentation for the Project (Java only)<br />

DRAFT, February 18, 2003, Page 47<br />

Now that you have established a project, you have the option to generate project level documentation for<br />

your Java classes. You can automatically generate documentation in the style of an application<br />

programmer interface (API). To begin the process of generating the documentation, click on the Project<br />

menu as shown in the figure below, and select Generate Documentation. This will bring up the “Generate<br />

Documentation for Project” dialog, which asks for the directory where the generated HTML files are to be<br />

stored. The default directory name is the name of the project with “_doc” appended to it. So for the<br />

example, the default will be PersonalLibaryProject_doc. Using the default name is recommended so that<br />

your documentation directories will have a standard naming convention. However, you are free to use<br />

any directory as the target. After choosing the directory, click Generate to start the process. jGRASP<br />

calls the javadoc utility, included with the J2SDK, to create a complete hyper-linked document within a<br />

few seconds.<br />

Figure 34. Generating Documentation for the Project

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!