Changing the AppScan® Source data directory
You may want to change the location of the AppScan® Source data directory for the purpose of managing hard disk space. You can change the location after AppScan® Source installation by following the steps in this topic.
Before you begin
Before completing this task, ensure that all AppScan® Source client applications have been exited or shut down. AppScan® Source client applications include:
- AppScan® Source for Analysis
- AppScan® Source for Development (Eclipse or Visual Studio plug-in)(supported only on Windows™ and Linux™)
- AppScan® Source command line interface (CLI)
- AppScan® Source for Automation
In addition, if you have installed AppScan® Source for Automation, ensure that the Automation Server has been shut down:
- On Windows™, stop the HCL AppScan Source Automation service.
- On Linux™, issue this command:
/etc/init.d/ounceautod stop
Procedure
- Define an
APPSCAN_SOURCE_SHARED_DATA=<data_dir>
environment variable, where <data_dir> is the location in which you want AppScan® Source data to be stored.Note:- The <data_dir> location must be a complete and absolute path that already exists on the same machine as your AppScan® Source installation.
- The <data_dir> directory name can only contain English characters. Folders with names containing non-English characters are not permitted.
- Locate the default data directory that was created when AppScan® Source was installed (see Default AppScan Source data directory to learn about default data directory locations).
- Copy or move the contents of the default data directory to the <data_dir> location that is specified in the environment variable.
- Applies only to AppScan® Source for
Automation installed
on Linux™:
What to do next
- On Windows™, start the HCL AppScan Source Automation service.
- On Linux™, issue this command:
/etc/init.d/ounceautod start