Using undjava |
A command line tool for creating and building Understand for Java databases is undjava. This command line program parses your source code to populate the database with information that can be browsed or reported on.
A project database file (.udj) is created when a project is configured and analyzed using either the graphical interface of Understand for Java or the command line tool “undjava”.
The “undjava” command line takes this form:
where database is the project database file and is a required argument.
Create a new database using the -create option and then load the files into the database with the -add option. To parse all files, specify -rebuild. Once the database is initially populated, subsequent parsing can be incremental, meaning that a file only needs to be re-parsed when it has changed, or something it depends on changes. For this incremental parsing, specify -refresh.
Refer to the sections that follow for details on all the available command line options and how to create and analyze a project.
Scientific Toolworks, Inc. http://www.scitools.com |