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
- Task and TaskGroup dependencies.
- Use of environment variables.
- Use of Source and Output Macros.
- Use of the 'inherited:params' macro.
- Response file loading.
- File searches using wild-cards.
Notes
- 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.
- Run the batch file (RunXmlInterfaceSample1.bat) from the
command prompt set to this folder.
- 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:
- Task and TaskGroup dependencies.
- Use of Source and Output Macros.
- File searches using wild-cards.
Notes
- 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.
- 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.