Setting up the source extraction Ant script

To support the use of different SCM systems in different customization projects, the Build and Deployment tool requires you to provide a custom source extraction Ant build file that is run as part of the build process.

The WCBD_installdir/extract directory include sample scripts for some SCMs:
SCM Sample script
CVS wcbd-sample-extract-cvs.*
ClearCase wcbd-sample-extract-clearcase.*
Local filesystem wcbd-sample-extract-local.*
Subversion wcbd-sample-extract-svn.*

If no sample scripts are provided for your SCM, you can develop a custom script. See Customizing the build process , for details.

About this task

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

Procedure

  1. If WCBD_installdir/extract/wcbd-sample-extract-scm.private.properties exists, copy the file as WCBD_installdir/extract-scm.private.properties.
  2. Copy WCBD_installdir/extract/wcbd-sample-extract-scm.properties as WCBD_installdir/extract-scm.properties.
  3. Copy WCBD_installdir/extract/wcbd-sample-extract-scm.xml as WCBD_installdir/extract-scm.xml.
  4. SolarisLinuxAIXChange the file permission with the following command:
    chmod 755 WCBD_installdir/extract-scm.*
  5. Open WCBD_installdir/extract-scm.xml with a text editor 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_installdir/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, open WCBD_installdir/extract-scm.private.properties with a text editor and configure the properties according to the comments in the file.
  7. Open WCBD_installdir/extract-scm.properties with a text editor and configure the properties according to the comments in the file.