XML Interface - Sample Projects

Two pre-built, working projects demonstrating the XML Interfaces can be found in the "XGE\Samples\XML Interface\" subfolder under the IncrediBuild installation folder:

XML Interface Sample Project 1

This sample is set to demonstrate a generic task distribution process activated through the XGE XML Interface.

The sample uses a custom tool to invert input files into a corresponding output files. The tool waits a default of 1 second before exiting and returning 0. The tool will also accept a parameter ('-t') to set the wait period.

XML Interface features demonstrated in this sample

  1. Task and TaskGroup dependencies.
  2. Use of environment variables.
  3. Use of Source and Output Macros.
  4. Use of the 'inherited:params' macro.
  5. Response file loading.
  6. File searches using wild-cards.

Notes

  1. Before running this example, open the 'XmlSample1.xml' file and verify that the value of the 'CurrentDirectory' variable is correct and points to the location of the sample.
  2. Run the batch file (RunXmlInterfaceSample1.bat) from the command prompt set to this folder.
  3. The corresponding inverted files will appear in this folder.

XML Interface Sample Project 2

This sample is set to demonstrate a simple application build using the XGE XML Interface.

XML Interface features demonstrated in this sample:

  1. Task and TaskGroup dependencies.
  2. Use of Source and Output Macros.
  3. File searches using wild-cards.

Notes

  1. Run the batch file (RunXmlInterfaceSample2.bat) from the command prompt set to this folder. This will allow IncrediBuild to pick up the profile.xml file correctly.
  2. Note that the example is currently configured to use the MS Visual Studio 2005 compiler. If you have a different Visual Studio version installed, open RunXmlInterfaceSample2.bat and replace the following line:
    call "%VS80COMNTOOLS%vsvars32.bat"
    with either:
    call "%VS71COMNTOOLS%vsvars32.bat"        (for MS Visual Studio 7.0)
    OR:
    Call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat        (for MS Visual Studio 6.0 - change according to VC installation folder if installed in a folder different than default location).
    Copyright (C) 2001-2008 Xoreax Software Ltd. All rights reserved.
Converted from CHM to HTML with chm2web Standard 2.7 (unicode)