以下は JE2BWM ほかが作成した翻訳 です。 原文は University of California より GFDL で配付されており、 この翻訳も GFDL に従います。
原文: xadd - tool for adding database items   (翻訳対象の更新日付は 5:08 PM UTC, October 12 2005 です)。

xadd - データベース項目の追加ツール

boinc.gif
(英語のみ)

xadd は BOINC データベースへ、プラットフォームとアプリケーションの記録を追加します。 追加する情報は、プロジェクトのルートディレクトリに置いた XML形式のファイル、 project.xml から読み込みます。 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 は新しい項目を追加するためだけのものであり、 すでにデータベースに存在する項目と衝突がおきると追加処理は無視されます。


BOINCの訳のメインページに戻る | (原文のメインページに戻る)
 

最終更新時刻 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.