Professional Documents
Culture Documents
1. Working Directory
Open the command prompt and change the current directory to the tools folder of the
SAP HANA Cloud Platform SDK.
Example:
cd sdk-3.22.10
cd tools
2. Proxy Settings
If you have to configure proxy settings, specify them using the environment
variables.
Examples:
Windows:
set HTTP_PROXY_HOST=proxy
set HTTP_PROXY_PORT=8080
set HTTPS_PROXY_HOST=proxy
set HTTPS_PROXY_PORT=8080
set HTTP_NON_PROXY_HOSTS="localhost"
If you need basic proxy authentication, enter your user name and password:
Linux:
export http_proxy=http://proxy:8080
export https_proxy=https://proxy:8080
export no_proxy="localhost"
If you need basic proxy authentication, add your user name and password:
3. Additional Information
To see a list of all available commands for operations you can perform with the
command line, enter neo in the console prompt.
The parameters used by the command line can be defined either in a .properties
file, or directly in the command line as parameters.
For more information about exit code types and states, see page
https://help.hana.ondemand.com/help/frameset.htm?
7886796eb9b9419fa6cecf1d215c38d8.html
Samples:
See file example_war.properties in the samples/deploy_war folder for an example
of a property file for deployment of a WAR file. In the template, enter your own
user and account name. Then execute the deployment with the following line:
neo deploy ../samples/deploy_war/example_war.properties
You can deploy the same application as in the example above by executing the
following command:
neo deploy --account <your account> --application warapp --source
../samples/deploy_war/example.war --user <SDN user>
If you want to deploy more than one Web application on one and the same VM, put
all WAR files in the same folder and execute the deployment with this source.
After you have deployed and started an application, you can manage some of its
logging configurations. In the template.properties file in the samples/logging
folder, enter your own user, account and application name, and specify the logger
which log level you want to change and the new log level. Then execute the
following command:
neo set-log-level ../samples/logging/template.properties
You can also list all loggers with their effective log level, list all log files
and download a log file.