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:
- Paths in batch files should use the backward slash '\' as the file separator
- Paths 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.
- Classpaths in batch files should use semicolons ';' as entry separators.
- Classpaths 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
- Copy WCBD_installdir/wcbd-setenv.bat.template as WCBD_installdir/setenv.bat.
- Copy WCBD_installdir/wcbd-setenv.template as WCBD_installdir/setenv.
- Copy WCBD_installdir/wcbd-build.private.properties.template as WCBD_installdir/build.private.properties.
- Copy WCBD_installdir/wcbd-build.properties.template as WCBD_installdir/build.properties.
-
Change the file permission with the following commands:
chmod 755 WCBD_installdir/setenv
chmod 755 WCBD_installdir/build*.properties
-
Open WCBD_installdir/setenv.bat with a text editor and
set the following:
-
ANT_HOME
to Ant_installdir -
WAS_HOME
to WAS_installdir
-
-
Open WCBD_installdir/setenv with a text editor and set
the following:
-
ANT_HOME
to Ant_installdir -
WAS_HOME
to WAS_installdir
-
- 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.
- Open WCBD_installdir/build.properties with a text editor and configure the properties in the file by referring to the Build configuration properties topic.
- Refer to the Advanced build features topic to learn about, and if applicable, apply features that suit your build needs.