Skip to content

2. Usage

Nevin Kaplan edited this page Jan 7, 2025 · 3 revisions

Using the latest version of OneClick has become more straightforward, allowing you to launch it directly from the Windows File Explorer. Simply navigate to the OneClick installation directory and choose the OneClick batch file. While it's not mandatory, it's highly advisable to run it with administrative rights.

First Time

When you launch the tool for the first time, you will be prompted with a series of questions to set it up for future use. This is a one-time process, but if you need to make changes later open a command prompt and type:

OneClick -g
Question Description
OneClick Working folder OneClick consists of two main sections: the base and work locations. The base section holds all the project configuration details, logs, and runtime code. The work section stores the results of the application code analysis and the generated reports. While these sections can be placed together, it is advisable to separate them when operating in a network setting.
Java installation folder OneClick needs Java to operate the Highlight and MRI Command Line interfaces. If the JAVA_HOME environment variable is defined, it will provide the value for this field.
CAST Profiler installation CAST Profiler is utilized for identifying source code to produce a discovery report. This setting is configured during installation, and the default option is recommended.
Highlight analysis If you choose Yes, you can set default values for all upcoming projects. Selecting No means these values won't be set, and OneClick will prompt you for this information for each new project. It is advisable to choose No when working with multiple Highlight domains.
Highlight CLI The Highlight Command Line Interface is utilized to execute and upload a Highlight analysis. This setting is configured automatically during the installation process.
Upload results Selecting No for this question will execute the Highlight analysis but will not upload the results to the portal.
Highlight URL The Highlight portal URL.
Highlight User Name The user id required for access to the Highlight portal.
Highlight instance id The instance or domain ID utilized for all OneClick projects.

Subsequent Runs

Clone this wiki locally