Settings Management in the DVT Eclipse IDE - How to Share Compile Waivers

Description

Compile waivers allow you to disable or change the severity of the problems reported by DVT during compilation.

This video shows how to share compile waivers across multiple projects and between multiple users.

Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license

Transcript

Let's suppose you want to share compile waivers between multiple projects and users.

Add a compile waiver in Project 1.

Configure it to match only the message.

Notice the waivers.xml file created in project1/.dvt.

It contains the newly created waiver.

Sharing Waivers Between Projects

To share the waivers between all of your projects, drag and drop the file into DVT-Settings/user.

Sharing Waivers Between Different Users

Assuming the DVT_COMMON_SETTINGS environment variable is set, you can also share waivers between different users.

Drag and drop the file into DVT-Settings/common.

Click the Reapply Waivers button.

Notice that the problems matched in the second project disappear as well.

Waiver File Levels and Precedence

You can have waiver files on different levels.

They are applied in the following order:

  1. Common level
  2. User level
  3. Project level

For example, let's create a new compile waiver for the remaining problem in Project 1.

.dvt/waivers.xml is created.

Now both Common Level Waivers and Project Level Waivers are applied, and all problems in Project 1 are waived.