特定管理 > 支援視覺化與發行 > Arbortext Publishing Engine (PE) Worker > 針對使用 Servigistics Arbortext 編寫的動態文件配置發佈 > 針對 Servigistics Arbortext Editor 配置 WVS Publisher
  
針對 Servigistics Arbortext Editor 配置 WVS Publisher
為了讓 Servigistics Arbortext Publishing Engine 能夠從 Windchill 中下載輸入檔案,並在隨後上載輸出檔案,需要驗證檔案。此檔案通常名為 auth.properties
* 
wvs.properties 檔案位於 <Windchill>\codebase\WEB-INF\conf 目錄中,其中包含下列內容設定,其定義了 auth.properties 檔案的位置。如果您變更此檔案的位置,也必須相應地編輯此內容。
publish.cadconvert.ARBORTEXT=com.ptc.wvs.server.publish.CadConvertARBORTEXT,
useworkerdownload=$(wt.home)$(wvs.dir.sep)auth.properties,
types=PDF HTML WEB POSTSCRIPT HTMLHELP SGML XML RTF DMP 3D,
defaulttype=PDF
欲配置 auth.properties 檔案,請遵循下列步驟︰
1. 使用文字編輯器在 <Windchill> 根目錄 (亦稱為 %WT_HOME%) 中建立 auth.properties 檔案。
2. 新增一個包含使用者名稱與密碼值的驗證變數。這是此檔案中的唯一項目。語法是:
auth=<username>:<password>
3. 以有效值取代 <username><password>。使用者必須具有足夠的權限,才能讀取及下載儲存於需發佈之 Windchill 中的所有動態文件結構。
4. 儲存您的變更並關閉 auth.properties 檔案。
5. 在之前所述的 publish.cadconvert.ARBORTEXT 內容中,已針對 auth.properties 檔案提供 $(wt.home)$(wvs.dir.sep)auth.properties 的預設位置。如果您針對此檔案使用不同的位置,請務必更改此內容值,以反映出更新的路徑。您必須使用 xconfmanager 公用程式來進行此變更︰
xconfmanager -s
"publish.cadconvert.ARBORTEXT=com.ptc.wvs.server.publish.CadConvertARBORTEXT,
useworkerdownload=$(wt.home)$(wvs.dir.sep)auth.properties,
types=PDF HTML WEB POSTSCRIPT HTMLHELP SGML XML RTF DMP 3D,
defaulttype=PDF" -t <Windchill>\wvs.properties
-p
6. 重新啟動 Windchill 伺服器。
* 
wvs.properties 檔案包含一個名為 publish.usesPublishRules=ARBORTEXT 的設定。如果刪除此內容或移除 ARBORTEXT,WVS 將不會針對使用 Arbortext 編寫的動態文件使用發佈規則。不建議執行此操作。
* 
WVS 支援受信任的主機驗證。此功能可讓 Worker 無需密碼即進行驗證,這樣便可以使用「真實的使用者」來在發佈操作期間進行驗證。
如需使用 WVS 進行受信任主機驗證的詳細資訊,請參閱受信任主機驗證的 WVS 考量
如需使用 Windchill 進行受信任主機驗證的詳細資訊,請參閱在 Windchill 中配置替代驗證