Administer > Deploy > Overview: WebSphere Commerce Build and Deployment tool > Configure and run the build process


Configure the source extraction Ant script

The Build and Deployment tool requires users to provide a custom source extraction Ant build file that is executed as part of the build process. Sample scripts for some popular SCMs are provided out-of-the-box in...

WCBD_INSTALL/extract

...including...

CVS wcbd-sample-extract-cvs.*
ClearCase wcbd-sample-extract-clearcase.*
Local filesystem wcbd-sample-extract-local.*
Subversion wcbd-sample-extract-svn.*

In the following steps, scm refers to one of cvs, clearcase, local, or svn, as appropriate to the environment.

If the SCM used in the customization project is not one for which sample scripts are provided, develop custom scripts as described in the Customize the build process topic.


Procedure

  1. If...

    WCBD_INSTALL/extract/wcbd-sample-extract-scm.private.properties

    ...exists, copy the file as...

    WCBD_INSTALL/extract-scm.private.properties

  2. Copy...

    WCBD_INSTALL/extract/wcbd-sample-extract-scm.properties

    ...as...

    WCBD_INSTALL/extract-scm.properties

  3. Copy...

    WCBD_INSTALL/extract/wcbd-sample-extract-scm.xml

    ...as...

    WCBD_INSTALL/extract-scm.xml

  4. Change the file permission with the following command:

    chmod 755 WCBD_INSTALL/extract-scm.*

  5. Edit...

    WCBD_INSTALL/extract-scm.xml

    ...and replace the name attribute of the root project element from wcbd-sample-extract-scm to extract-scm.

    For example, if the SCM is CVS, then WCBD_INSTALL/extract-cvs.xml should have the following line:

    • <project name="wcbd-sample-extract-cvs" default="all">

    ...changed to...

      <project name="extract-cvs" default="all">

  6. If step 1 is applicable, edit...

    WCBD_INSTALL/extract-scm.private.properties

    ...and configure the properties according to the comments in the file.

  7. Open...

    WCBD_INSTALL/extract-scm.properties

    ...with a text editor and configure the properties according to the comments in the file.


+

Search Tips   |   Advanced Search