XADD Tool

From Unofficial BOINC Wiki

Jump to: navigation, search

The XADD Tool adds Platform and Application Records to the BOINC Database. Information is read from an XML file project.xml in the Project's Root Directory. Run The XADD Tool from the Project Root Directory, i.e.:

 cd ~/projects/project_name
 bin/xadd

The contents of project.xml should look like this:

  <boinc>
    <app>
        <name>setiathome</name>
        <user_friendly_name>SETI@home</user_friendly_name>
    </app>
    ...
    <platform>
      <name>windows_intel</name>
      <user_friendly_name>Windows 95, 98, NT 2000, and XP</user_friendly_name>
    </platform>
    ...
  </boinc>

The 'name' of each item should be short and without spaces or other special characters. The 'user friendly name' (shown to end users) has no restrictions. An example project.xml file is in source/tools/.

The XADD Tool only adds new items; entries that conflict with existing database entries are ignored. The implication of this is that if there is a need to correct records, the bad records have to be deleted before the corrected records can be inserted by the tool.

[edit] UCB Source

[edit] Copyright ©

  • 2005 University of California
  • 2005 Paul D. Buck

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.

Personal tools