Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section



Column

XML Profiles

Table of Content Zone
locationtop

XML Profile Location

The ib_profile.xml file is located in the IncrediBuild installation folder at the following path: /opt/incredibuild/data/ib_profile.xml


This is the default configuration file that is used in every build. This instance of the file is a “read-only” file and should not be modified, as since during an upgrade of IncrediBuild, this file will be overwritten. If you wish to edit the profile file, you will need to create a copy of the file and save it in one of the following locations:

  • Project directory ($PWD/ib_profile.xml) - This file is in the working directory of the project being built. It will only be used when running a build from this directory.
  • Home directory ($HOME/.ib/ib_profile.xml) - This file is in the home directory of the user. It will be used by every build that is run by the user.
  • Machine directory (/etc/default/ib_profile.xml) - This file will be used in every build that is running on this machine.

If there are multiple instances of the profile configuration that include different configurationconfigurations, IncrediBuild will use the configuration of the most specific location. For example, it will give preference to the configuration of the project directory over the ones in the home or machine directories. 


Custom Profile Configuration

To configure edit the profile configuration file:

  1. Locate the default profile configuration file - /opt/incredibuild/data/ib_profile.xml.
  2. Copy the file and paste it on one or more of the locations described above (e.g. project directory, home directory, etc…).
  3. Add the names of the tasks/processes that should be handled locally only (local_only), distributed remotely (allow_remote) and intercepted (Intercepted) followed by the relevant attribute.


Examples

Local only example:
<processes>
<process filename="mylinker"           type="local_only" />
</processes>


Allow remote example:
<processes>
<process filename="mycompiler"           type="allow_remote" />
</processes>




Column
width15


Div
alignleft

Custom Build Executions

Child pages (Children Display)
styleh4
pageCustom Customizing Build Executions and Adding Custom Tools Using the ib_profile.xml File


IncrediBuild for Linux Guide:

Child pages (Children Display)
styleh4
pageIncrediBuild for Linux Guide



...