2004-01-13 07:32:03 +00:00
|
|
|
<? // -*- 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>
|
2004-02-05 22:36:55 +00:00
|
|
|
<boinc>
|
|
|
|
<project>
|
|
|
|
<short_name>yah</short_name>
|
|
|
|
<long_name>YETI @ Home</long_name>
|
|
|
|
</project>
|
|
|
|
<platform>
|
|
|
|
<name>c64</name>
|
|
|
|
<user_friendly_name>Commodore 64</user_friendly_name>
|
|
|
|
</platform>
|
2004-01-13 07:32:03 +00:00
|
|
|
...
|
2004-02-05 22:36:55 +00:00
|
|
|
</boinc>
|
2004-01-13 07:32:03 +00:00
|
|
|
</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();
|
|
|
|
?>
|
|
|
|
|