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
  • For IBM i OS operating systemSolarisLinuxAIXPaths 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.
  • For IBM i OS operating systemSolarisLinuxAIXClasspaths 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. For IBM i OS operating systemSolarisLinuxAIXCopy 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. For IBM i OS operating systemSolarisLinuxAIXChange 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. For IBM i OS operating systemSolarisLinuxAIXOpen 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.