我正面臨一個orca腳本部署錯誤。 Orca返回錯誤代碼-20。我怎麼解決這個問題?順便說一下,我可以使用Powerbuilder IDE成功部署我的項目。系統配置:WindowsXP-32bit,Powerbuilder 11.2,EAServer 5.5。以下是orca腳本輸出。Powerbuilder - EAServer ORCA API部署
Sybase (R) OrcaScript interpreter version 11.2
Using ANSI source file deploy_file_name.orca.
Start Session
Set Liblist
"path_to_pbl_1"
"path_to_pbl_2"
"path_to_pbl_3"
"...other pbls..."
Set Application "path_to_application_pbl" "target_name"
Build Project "path_to_project_pbl" "project_name"
Orca error in 'buildProject'. Result Code -20.
Component builder initialization for project project_name failed
An error occurred during initialization of the component builder class.
Last Command Failed.
End Session
是的,你是對的。我錯誤地寫在那裏。實際行是Build Project「path_to_pbl」「project_name」。無論如何,這與錯誤無關。 – misa 2012-02-13 12:18:59
我放棄了。我從未見過ORCA的-20錯誤代碼。也許這是某種DOS錯誤(你是否以某種方式從批處理文件運行這個)? – m0rt1m3r 2012-02-15 17:56:03
我在命令提示符下運行ORCASCR110,正如它在orcasript快速參考中所說的那樣:ORCASCR110 [/ D w: = sw: ...] w:<批處理文件名> –
misa
2012-02-16 12:55:12