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
  • SolarisLinuxAIXFor 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.
  • SolarisLinuxAIXFor 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. WindowsCopy WCBD_installdir/wcbd-setenv.bat.template as WCBD_installdir/setenv.bat.
  2. SolarisLinuxAIXFor IBM i OS operating systemCopy 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. SolarisLinuxAIXFor IBM i OS operating systemChange the file permission with the following commands:
     chmod 755 WCBD_installdir/setenv
     chmod 755 WCBD_installdir/build*.properties
  6. WindowsOpen WCBD_installdir/setenv.bat with a text editor and set the following:
    • ANT_HOME to Ant_installdir
    • WAS_HOME to WAS_installdir if WebSphere Application Server is installed, or RAD_installdir\runtime\base_v7 if WebSphere Application Server Version 7.0 Test Environment from Rational Application Developer is installed.
  7. SolarisLinuxAIXFor IBM i OS operating systemOpen 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.