15.07.2013 Views

jgrasp handbook

jgrasp handbook

jgrasp handbook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Max. Results Per File - specifies the maximum number of matches that will be reported for each selected<br />

file.<br />

17.15 Help Us Test CSD Generation<br />

You can help us test the jGRASP CSD generator by running the autotest on groups of your source files.<br />

The autotest dialog is on the "Tools" menu of the control panel. See autotest dialog for a description of its<br />

use.<br />

17.16 Generate Documentation Dialog<br />

Target Directory - the directory in which the "javadoc" documentation will be generated. Using a projectrelative<br />

path will allow this setting to be valid if the entire project is moved (even to a different operating<br />

system).<br />

Additional Doc. Command Flags - additional flags to the "javadoc" command. This is useful for linking to<br />

Java API docs on the local system or the web. For example:<br />

local file: -link “file:///C:/j2sdk1.4.0/docs/api”<br />

Sun website: -link "http://java.sun.com/j2se/1.4/docs/api"<br />

Generate - generates documentation using the current project-level "Document" command for Java.<br />

17.17 Jar Creation Dialog<br />

This dialog allows the user to create a jar file for the files in the current project.<br />

• First Page<br />

• Second Page<br />

17.17.1 First Page<br />

Project Files - selects the type of files from the current project to include in the jar file. The files are shown<br />

in the window below.<br />

Additional (non-project) Files - the "Add" button allows the user to add arbitrary files to the jar file. Using a<br />

relative path (the default) means that the correct files will be used if the entire project is moved to another<br />

directory. The "Delete" button will delete selected files from the window.<br />

17.17.2 Second Page<br />

Jar File - the name of the jar file to be created. Uses a project-relative path by default.<br />

Jar Root Directory - the root of the jar directory. Filenames in the jar file will be relative to this directory.<br />

This is initially set to the first common ancestor of all the files and package roots in the jar, and by default<br />

it is project-relative. Any ancestor directory of this default will work. To reset the default value, delete the<br />

current value, hit "Back", then hit "Next".<br />

Main Class - the name of the main class in the jar file. If specified, running "java -jar" on (or possibly<br />

clicking on) the generated jar file will run that class. The combo-box gives a choice of classes with entry<br />

(main) methods.

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

Saved successfully!

Ooh no, something went wrong!