Set Up Your Build
After you have successfully downloaded and unpacked the required files, you must then create your SAP Commerce Cloud project directories before proceeding.
To set up SAP Commerce Cloud, carry out the following steps.
- Set up Apache Ant
- Start a clean build to create your project directories
Setting up Apache Ant
SAP Commerce Cloud comes pre-bundled with Apache Ant, a tool for automating the software build processes. Configure Apache Ant before you build SAP Commerce Cloud.
Context
SAP Commerce Cloud provides three script files that you can use to set your Ant environment for the current command console session:
- setantenv.bat: a batch file for Microsoft Windows systems
- setantenv.ps1: a shell script file for Windows Powershell
- setantenv.sh: a shell script file for Unix-based systems such as Linux or Mac OS X
Procedure
Results
You should see something similar to the following:
Creating the Project Directories
Once you have set up your Ant environment, use Ant to create your SAP Commerce Cloud project framework.
Context
Running ant clean all on a new instance of SAP Commerce Cloud creates any configuration files and other essential directories. This is a necessary step in the installation process, and must be done once before you proceed with the configuration.
If a build already exists, it deletes and recreates it. Repeat this command any time you wish to create a new build in place of an old one.
Procedure
Results
Your hybris directory now contains the following: