wiki:XaddTool
Last modified 2 years ago Last modified on 08/24/12 21:34:43

xadd - tool for adding database items

xadd 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 xadd 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>
        [ <min_version>N</min_version> ]
        [ <homogeneous_redundancy>0|1</homogeneous_redundancy> ]
        [ <weight>X</weight> ]
        [ <beta>1</beta> ]
        [ <non_cpu_intensive>1</non_cpu_intensive> ]
    </app>
    ...
    <platform>
        <name>anonymous</name>
        <user_friendly_name>anonymous</user_friendly_name>
    </platform>
    <platform>
        <name>i686-pc-linux-gnu</name>
        <user_friendly_name>Linux/x86</user_friendly_name>
    </platform>
    <platform>
        <name>windows_intelx86</name>
        <user_friendly_name>Windows/x86</user_friendly_name>
    </platform>
    <platform>
        <name>powerpc-apple-darwin</name>
        <user_friendly_name>Mac OS X</user_friendly_name>
    </platform>
    ...
  </boinc>

xadd only adds new entries; entries that conflict with existing entries are ignored. To modify or remove existing entries, you must edit the database directly with SQL. To release new versions of applications already on the database, use update_versions.