Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Remove a project from kwxsync storage

If you need to remove a project from kwxsync storage, you can use the kwxsync delete-project utility.

Usage

kwxsyncutil delete-project --storage <storage_path> --url <project_URL>

Specify the path to the storage file and the URL of the project you want to remove from storage. If the project is already deleted and the URL doesn't exist in the storage, an error is reported. This command works on the storage file independently, meaning that there is no communication required with any servers.

The project URL has the following format:

http(s)://<klocwork_server_host>:<klocwork_server_port>/<project>

Use https:// if a secure Klocwork Server connection has been configured.

Example

kwxsyncutil delete-project --storage /opt/klocwork/storage/storage.dat --url http://localhost:8080/my_project

In this example, 'my_project' is deleted from the project database, the file map database and from the citing history of every defect in storage.

Generate a list of projects

If you need to generate the list of projects contained in a kwxsync storage file, you can run the following command:

kwxsyncutil list-projects --storage <storage_path>