安裝與升級 > 更新現有 Windchill 安裝 > 更新現有安裝 > 更新其他 Windchill 產品 > Windchill RequirementsLink 或 Windchill 需求管理 > 執行 Windchill Diagnostic Utility (WinDU) 與 Windchill Repair Utility (WinRU) 檢查清單 > 配置規格與需求
  
配置規格與需求
Windchill Requirements Management 的先前發行版本或版本層級升級或更新時,您必須執行 Windchill Repair Utility (WinRU),因為其為Windchill 後安裝流程的一部份。
* 
執行 Windchill Repair Utility (WinRU) 之前,請閱讀並瞭解處理顯示在需要針對 Integrity 整合進行轉換之 Windchill 中的抽象規格與需求類型
對於 Integrity 整合而言,WinRU Fix Specification/Requirement Sub-types 修復任務是強制任務。在升級或更新為較新的 Windchill 發行版本或版本層級時,必須執行 WinRU。對於 Integrity 整合而言,此任務為強制性任務。
* 
在執行 WinRU 公用程式之前,您必須先執行包含 Detect issues in Specification/Requirement types 診斷任務的 Windchill Diagnostic Utility (WinDU)。如果發生 WinDU 錯誤,您必須先更新並修正 XML 內容檔案,然後再執行 WinRU 公用程式。請參閱處理顯示在需要針對 Integrity 整合進行轉換之 Windchill 中的抽象規格與需求類型以取得更多資訊。
WinRU 支援對資料模型對應的組態,以及對 Windchill 中需求規格與需求子類型的變更。此 WinRU 任務也會讀取內容檔案來轉換 Integrity 整合所需的其他自訂子類型。
先決條件
Windchill Repair Utility (WinRU) 會在修復 Windchill Diagnostic Utility (WinDU) 中報告之任何資料問題之後執行。
請閱讀並瞭解 Windchill Repair Utility Guide (Windchill Repair Utility 指南),確保您:
針對安裝或升級安裝適當的 WinDU 暫時修補程式。
瞭解執行 Windchill Repair Utility (WinRU) 公用程式的時間。
瞭解執行 Windchill Repair Utility (WinRU) 公用程式的方式。
欲存取 Windchill Repair Utility Guide (Windchill Repair Utility 指南) 的最新修補程式與文件集所在的 WinDU 與 WinRU 修補程式頁,請轉至 URL:Http://www.ptc.com/appserver/wcms/standards/freefull_cs_jsp?&im_dbkey=122537&icg_dbkey=893
用來配置規格與需求的 WinRU 任務
Fix Specification/Requirement Sub-types 修復任務會從 WinDU XML 內容檔案查詢新增或重新命名之子類型的清單。它會轉換任何自訂規格與需求子類型。它也會根據在偵測規格與需求中問題任務中產生之 XML 內容檔案提供的新資料模型對應,來調整任何舊類型。
Windchill Repair Utility Guide (Windchill Repair Utility 指南) 提供關於選取及執行 WinRU 修復任務的指示。要閱讀的章節包括 Filtering and Dependencies 與 WinRU Repair Tasks。WinRU Repair Tasks 一章包括 Fix Specification/Requirement Sub-types 任務。
此任務可藉由選取 Windchill Repair Utility (WinRU) 中的 Fix Specification/Requirement Sub-types) 修復任務來執行。
1. All 類別,選取 Fix Specification/Requirement Sub-types
2. 「需求整合」標籤中,輸入產生之 XML 檔案所在的目錄路徑。
3. 執行任務到完成。
* 
請勿從此任務退出。它必須執行到完成,否則會發生錯誤。
4. 如有必要,此任務可以執行多次。
分析 Windchill Repair Utility (WinRU) 結果
WinRU 流程會將 Fix Specification/Requirement Sub-types 修復任務的結果儲存在記錄檔中。記錄檔會列出轉換為目標類型的全部類型。舉例來說,
Running diagnostic task to fix RequirementsLink sub-types.
Reading property file: D:\Users\brath\Desktop\reql_8256202230995086395.xml
BEGIN - Converting type from 'TestSuite.Sub' to 'Specification Document'
BEGIN - Converted type from: 'TestSuite.Sub' to: 'Specification Document'
BEGIN - Converting type from 'TestSpec' to 'Requirement Document'
BEGIN - Converted type from: 'TestSpec' to: 'Requirement Document'
Completed type conversion
Completed repair task for fixing RequirementsLink sub-types in 2743ms.