mirror of https://github.com/BOINC/boinc.git
43 lines
1.1 KiB
PHP
43 lines
1.1 KiB
PHP
|
<? // -*- html -*-
|
||
|
// $Id$
|
||
|
require_once("docutil.php");
|
||
|
page_head("<code>xadd</code> Tool");
|
||
|
?>
|
||
|
|
||
|
`<code>xadd</code>' adds objects to the BOINC database through an XML
|
||
|
file, <code><b>project.xml</b></code>. This file should be in the same
|
||
|
location as <code>config.xml</code>.
|
||
|
|
||
|
The contents of <code>project.xml</code> should look like this:
|
||
|
|
||
|
<pre>
|
||
|
<boinc&rt;
|
||
|
<project&rt;
|
||
|
<short_name&rt;yah</short_name&rt;
|
||
|
<long_name&rt;YETI @ Home</long_name&rt;
|
||
|
</project&rt;
|
||
|
<platform&rt;
|
||
|
<name&rt;c64</name&rt;
|
||
|
<user_friendly_name&rt;Commodore 64</user_friendly_name&rt;
|
||
|
</platform&rt;
|
||
|
...
|
||
|
</boinc&rt;
|
||
|
</pre>
|
||
|
|
||
|
Notes:
|
||
|
<ul>
|
||
|
<li>Object arguments have the same format as for the `add' tool
|
||
|
command-line arguments. See also the <a href=tool_add.php>documentation
|
||
|
for `add'</a>.
|
||
|
<li>This tool (currently) only adds new items; thus:
|
||
|
<ul>
|
||
|
<li>Entries that conflict with existing database entries are ignored;
|
||
|
this includes entries that have changed.
|
||
|
</ul>
|
||
|
</ul>
|
||
|
|
||
|
<?
|
||
|
page_tail();
|
||
|
?>
|
||
|
|