Java integration build analysis - Cheat sheet

An integration build analysis...
  • gives you a snapshot of the current health of your software project. After you run an analysis, detected issues and reports are available in Validate.
  • is the first step in establishing the connected desktop in your organization.
Prerequisities:
Your first analysis
  1. Create a project:
    kwadmin --url http://server2:8080/ create-project my_project
  2. Capture your build settings:
    kwant [ant_options]
  3. Analyze the project:
    kwbuildproject --url http://server2:8080/my_project --tables-directory /my_tables kwinject.out
  4. Load the database:
    kwadmin --url http://server2:8080/ load my_project /my_tables

Details:Running the Java integration build analysis

Your next analysis
After your first analysis, you can use incremental analysis thereafter.

Important: To take advantage of incremental analysis, don't delete your tables directory.

  1. Update your build settings:
    kwant --output <file> [ant_options]
  2. Run an incremental analysis:
    kwbuildproject --url http://server2:8080/my_project --tables-directory /my_tables --incremental kwinject.out
  3. Load the database:
    kwadmin --url http://server2:8080/ load my_project /my_tables

Whenever you do a clean build (full rebuild of your source files), you should run a full build analysis.