Analyzing a Project |
The “undjava” command line program allows you to analyze (or re-analyze) a previously created project database. Refer to the preceding section if you haven’t yet created and configured your project.
When analyzing a project, you have two options to choose from. You may re-analyze all files with the -rebuild option, or only those files that have changed with the -refresh option.
If you are doing your first analysis after creating a new project, it doesn’t matter which option you choose as it will parse all files regardless. However, if you are performing this function on a regular basis, you may prefer to do an incremental analysis where only the modified files and any other files dependent on those files are re-analyzed.
For example, to parse all files in the project with the following command:
Or, to perform an incremental analysis, re-parsing only those files that have changed or other dependent files, use the command:
Scientific Toolworks, Inc. http://www.scitools.com |