事前定義スコープ

それぞれの事前定義のオフライン保存と削除のスコープは、CCM_HOME¥soadf ディレクトリー (Windows ユーザー) または $CCM_HOME/soadf ディレクトリー (UNIX ユーザー) 内の XML ファイルに定義、格納されています。

ファイル名は、スコープ名を URL としてエンコードし、スペースを %20 で置き換え、拡張子「.xml」を付けたものです。

注: CLI を使用して、スコープ・ファイルの編集、作成、および削除が可能です。

以下に、定義済みのスコープの例を 2 つ示します。

リリースベースのスコープ

以下に、「All projects and related objects for a specified release」という事前定義スコープの XML ファイルの内容を示します。

<?xml version="1.0" encoding='ISO-8859-1'?>

<soadfscope version="1">
    <predefined>TRUE</predefined>
    <role></role>
    <parameter>
        <label>Release value</label>
    </parameter>
    <object></object>
    <query>release='%1' and cvtype!='problem'</query>
    <expansion_rule>Folder's tasks</expansion_rule>
    <expansion_rule>Project's folders</expansion_rule>
    <expansion_rule>Project's tasks</expansion_rule>
    <expansion_rule>Task's objects</expansion_rule>
    <exclusion_rule>Baseline projects used by other non-static projects
    </exclusion_rule>
    <exclusion_rule>Folders used by other projects</exclusion_rule>
    <exclusion_rule>Objects associated with other non-automatic tasks
    </exclusion_rule>
    <exclusion_rule>Projects used by other baselines</exclusion_rule>
    <exclusion_rule>Tasks used by other baselines</exclusion_rule>
    <exclusion_rule>Tasks used by other folders</exclusion_rule>
    <exclusion_rule>Tasks used by other projects</exclusion_rule>
    <exclusion_query></exclusion_query>
    <package_name>All projects and related objects for Release %1 saved 
    on %date</package_name>
</soadfscope>

最初に、指定したリリースを持つすべてのオブジェクトのクエリーを実行することにより、初期のオ ブジェクト・リストが作成されます。

次に、見つかった各プロジェクトに関して、展開ルールにより、以下のものがリストに追加されます。
  • Folders and tasks of each project (各プロジェクトのフォルダーおよびタスク)
  • Tasks of each folder (各フォルダーのタスク)
  • Associated objects of each task (各タスクの関連オブジェクト)
最後に、削除されていないフォルダー、タスク、およびベースラインへの損害を避けるため、除外ルールによって、オブジェクト・リストから以下のものが削除されます。
  • Baseline projects used by other non-static projects (他の非静的プロジェクトで使用されているベースライン・プロジェクト)
  • Projects used by other baselines (他のベースラインで使用されているプロジェクト)
  • Folders and tasks used in other projects (他のプロジェクトで使用されているフォルダーとタスク)
  • Tasks used by other baselines or folders (他のベースラインまたはフォルダーで使用されているタスク)
  • Objects associated with other non-automatic tasks (他の非自動タスクに関連付けられているオブジェクト)

プロジェクト階層ベースのスコープ

以下に、「Project hierarchy and related folders and tasks」という事前定義スコープの XML ファイルの内容を示します。

<?xml version="1.0" encoding='ISO-8859-1'?>

<soadfscope version="1">
    <predefined>TRUE</predefined>
    <role></role>
    <parameter>
        <label>Project objectname</label>
    </parameter>
    <object>%1</object>
    <query></query>
    <expansion_rule>Folder's non-automatic tasks</expansion_rule>
    <expansion_rule>Project's folders</expansion_rule>
    <expansion_rule>Project's non-automatic tasks</expansion_rule>
    <expansion_rule>Project's recursive members</expansion_rule>
    <exclusion_rule>Baseline projects used by other non-static projects
    </exclusion_rule>
    <exclusion_rule>Folders used by other projects</exclusion_rule>
    <exclusion_rule>Objects associated with other non-automatic tasks
    </exclusion_rule>
    <exclusion_rule>Projects used by other baselines</exclusion_rule>
    <exclusion_rule>Tasks used by other baselines</exclusion_rule>
    <exclusion_rule>Tasks used by other folders</exclusion_rule>
    <exclusion_rule>Tasks used by other projects</exclusion_rule>
    <exclusion_query></exclusion_query>
    <package_name>Project hierarchy %1 saved on %date</package_name>
</soadfscope>

最初に、初期のオブジェクト・リストには、オブジェクト名で指定されたプロジェ クトのみが含まれています。

次に、指定したプロジェクトに関して、展開ルールにより、以下のものが再帰的にリストに追加されます。
  • Folders of the project, non-automatic tasks, and recursive members (プロジェクトのフォルダー、非自動タスク、および再帰メンバー)
  • Non-automatic tasks of each folder (各フォルダーの非自動タスク)
  • Associated objects of each task (各タスクの関連オブジェクト)
最後に、削除されていないフォルダー、タスク、およびベースラインへの損害を避けるため、除外ルールによって、オブジェクト・リストから以下のものが削除されます。
  • Baselines used by other non-static projects (他の非静的プロジェクトで使用されているベースライン)
  • Projects used by other baselines (他のベースラインで使用されているプロジェクト)
  • Folders used by other projects (他のプロジェクトによって使用されているフォルダー)
  • Tasks used by other baselines, projects, or folders (他のベースライン、プロジェクト、またはフォルダーで使用されているタスク)
  • Objects associated with other non-automatic tasks (他の非自動タスクに関連付けられているオブジェクト)

フィードバック