xadd - データベース項目の追加ツール |
|
xadd をプロジェクトのルートディレクトリから実行してください。
つまり、以下のようにします。
cd ~/projects/project_name bin/xadd
project.xml の内容は以下の例のようになるはずです。
<boinc>
<app>
<name>setiathome</name>
<user_friendly_name>SETI@home</user_friendly_name>
</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>
上記の 'name'要素の内容は、短くするべきで、かつ、空白および特殊文字を含んではなりません。
一方、'user friendly name' (参加者に見える名前)のほうには制約はありません。
project.xml ファイルの例を、source/tools/ に置いてあります。
xadd は新しい項目を追加するためだけのものであり、
すでにデータベースに存在する項目と衝突がおきると追加処理は無視されます。
最終更新時刻 00:51:45, 2006年08月12日(JST)
Copyright © 2010 University of California.
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.
Copyright © 2010 Komori Hitoshi(je2bwm at jarl.com).
Japanese translation from English web pages on BOINC.
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.