Configuring the build settings

Before using the WebSphere Commerce Build and Deployment tool, you must edit script and properties files to set important information such as file paths to software installations and module lists to be built.

About this task

General rules that apply to the configuration of the settings files:
  • WindowsPaths in batch files should use the backward slash '\' as the file separator
  • LinuxAIXFor IBM i OS operating systemPaths in shell scripts should use the forward slash '/' as the file separator.
  • Paths in properties files should use the forward slash '/' as the file separator, even for Windows systems.
  • WindowsClasspaths in batch files should use semicolons ';' as entry separators.
  • LinuxAIXFor IBM i OS operating systemClasspaths in shell scripts should use colons ':' as entry separators.
Note: The following steps assume that the default repository structure is used. If you are using a custom repository structure, use settings appropriate to your environment.

Procedure

  1. Windows Copy WCBD_installdir/wcbd-setenv.bat.template as WCBD_installdir/setenv.bat.
  2. LinuxAIXFor IBM i OS operating system Copy WCBD_installdir/wcbd-setenv.template as WCBD_installdir/setenv.
  3. Copy WCBD_installdir/wcbd-build.private.properties.template as WCBD_installdir/build.private.properties.
  4. Copy WCBD_installdir/wcbd-build.properties.template as WCBD_installdir/build.properties.
  5. LinuxAIXFor IBM i OS operating system Change the file permission with the following commands:
     chmod 755 WCBD_installdir/setenv
     chmod 755 WCBD_installdir/build*.properties
  6. Windows Open WCBD_installdir/setenv.bat with a text editor and set the following:
    • ANT_HOME to Ant_installdir
    • WAS_HOME to WAS_installdir
  7. LinuxAIXFor IBM i OS operating system Open WCBD_installdir/setenv with a text editor and set the following:
    • ANT_HOME to Ant_installdir
    • WAS_HOME to WAS_installdir
  8. Open WCBD_installdir/build.private.properties with a text editor and configure the properties in the file by referring to the Security-sensitive build configuration properties topic.
  9. Open WCBD_installdir/build.properties with a text editor and configure the properties in the file by referring to the Build configuration properties topic.
  10. Refer to the Advanced build features topic to learn about, and if applicable, apply features that suit your build needs.