共用方式為


用於移轉 ClearQuest 資料庫的 CQConverter 命令列公用程式

更新:2007 年 11 月

CQConverter 命令可用於轉換 ClearQuest 資料庫,以與 Team Foundation 工作項目追蹤搭配使用。

CQConverter.exe 位於 <drive>:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE 中,您也可以透過 [Visual Studio 2008 命令提示字元] 使用此檔案。

必要的使用權限

您必須是 [Service Accounts] 安全性群組的成員,才能使用 CQConverter 工具。如需詳細資訊,請參閱 Team Foundation Server 使用權限。此外,您也必須擁有 ClearQuest 資料庫的 [Super User] 使用權限。如需詳細資訊,請參閱 ClearQuest Administrator's Guide。

語法

**CQConverter [/?] {/c[ommand]:Analyze|Migrate} <cqconverterconfig.xml> /s[chema]: <**schemamap.xml /m[igration settings]:<migration settings>

  • /c[ommand]: analyze <cqconverterconfig.xml>
    如 cqconverterconfig.xml 所設定般分析 ClearQuest 資料庫。

  • /c[ommand]: migrate <cqconverterconfig.xml>
    如 cqconverterconfig.xml 所設定般移轉 ClearQuest 資料庫。

  • /s[chema]: < schemamap.xml >
    移轉結構描述對應 XML 檔案。

  • /m[igration settings]: <migration settings>
    移轉設定 XML 檔案。

  • /?, /h, /help
    顯示說明。

範例

在下列範例中,轉換器會使用在 cqconverterconfig.xml 檔案中定義的組態參數執行分析。

**CQConverter /c:analyze /m:**cqconverterconfig.xml

在下列範例中,轉換器會使用在 cqconverterconfig.xml 檔案中定義的組態參數,以及在 schemamap.xml 檔案中定義的對應執行移轉。

**CQConverter /c:migrate /m:cqconverterconfig.xml/s:**schemamap.xml

備註

CQConverter 組態參數儲存在 XML 檔中。您可以在命令提示字元使用選項 /m: 或其擴充格式 /migrationsettings: (例如:/m:cqconverterconfig.xml/migrationsettings: cqconverterconfig.xml) 來指定這個檔案。

注意事項:

連接到 ClearQuest 或 Team Foundation Server 時,轉換器將提示您輸入密碼。轉換器會使用登入認證連接到 Team Foundation Server。

本章節內容

相關章節

從 ClearQuest 移轉

從 Visual SourceSafe 移轉

請參閱

概念

規劃工作項目移轉

在工作項目類型中加入整合欄位

其他資源

移轉工作項目

移轉工作項目之後