Class Database

When you create a project, or modify a project by adding files, removing files, or changing the contents of a source file, Cosmo Code automatically generates a database of all the classes your project uses. The database is used by the Queries menu and the Overview, Query, and Class cards to graph classes and generate results for any queries you perform.

The database for your project classes is stored in a .jsuds directory in your project directory. The database for the Java system classes is stored in the system directories, if directory permissions permit this, or in a directory you specify using the "Alternate Directory for Analysis Data" preference. Access the preference by choosing File > Preferences..., and then choosing General from the Options menu. This preference is set to be a .jsuds directory in your home directory by default.

Note that the database contents for system classes is shared, and is not regenerated when a project changes. If you want to rebuild the database for system classes, you must manually remove the .jsuds directory when the information for system classes is kept.

If you perform a query or display a graph and you believe that the information displayed is out of date, choose Project > Reanalyze Classes to rebuild the class database using the current project information.

Guide to the Cosmo Code Development Environment
12-96*275