2.13. HackyInstaller CLI: Set Path

The SetPath CLI command allows you to set the value of any file path associated with any sensor.

Example 2.5, “Invoking the HackyInstaller CLI SetPath command” illustrates an invocation of the HackyInstaller CLI to set an example path.

Example 2.5. Invoking the HackyInstaller CLI SetPath command

C:\>java -jar hackyInstaller.jar -SetProperty ECLIPSE_HOME c:\eclipse
Rhino classes (js.jar) not found - Javascript disabled
The ECLIPSE_HOME path has been saved.
Success

C:\>

In the event that this path is not known to be associated with a sensor, an error message will be returned. To see the list of valid path names, run the HackyInstaller CLI Help command as documented in Section 2.20, “HackyInstaller CLI: Help”.