How To Waive Problems in the DVT Eclipse IDE

Overview

This video shows you how to disable or change the severity of the problems reported by DVT during compilation.

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

Details

Introduction

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

Start from the Problems View. To show the view, in case you've accidentally closed it, go to Window > Show View > Problems.

Waiving a Problem

Right-click on the problem you wish to waive and choose Waive Problem.

In the pop-up dialog, you can tune several parameters of the waiver DVT is about to create:

  • The waiver's name
  • Hide a problem by disabling it
  • Promote a problem from warning to error, or demote it from error to warning
  • The problem's matching path
  • The problem's matching message patterns

The .dvt/waivers.xml file, where compile waivers are persisted, is automatically created and opened.

Editing the Waivers File

Sometimes you may want to edit the waivers file directly, for example to remove or further tune a waiver.

To quickly open a waivers file, simply click on the Edit Waivers button from the Problems View.

After you are done editing, just press Reapply DVT Waivers.

For debug purposes, during a full build, waived errors are also reported in the build console.