PBORCA: netmodule building

98 views
Skip to first unread message

Vasily Maleev

unread,
Aug 21, 2013, 6:19:28 AM8/21/13
to pb...@googlegroups.com
Hi! 
I need to build PowerBuilder (11.5) project and get five files: two with .pbd extension, two with .netmodule extension and one executable file. Here's the orca script:

start session

set local_proj = "C:\scb" 

scc get connect properties "c:\scb\imdesktop.pbw"

scc set connect property provider "PBSCC Proxy"
scc set connect property logfile "Testbuild.log"
scc set connect property logappend True
scc set connect property localprojpath local_proj
scc set connect property userid "Vasily"
scc set connect property deletetempfiles "False"

scc connect

;**********************************************************************
; Refresh all the objects in all the PBLs in the target of the
; application and regenerate them all
;**********************************************************************
scc set target ".\imdesktop.pbt" "REFRESH_ALL"
build application FULL
;**********************************************************************
; Now build the exe and PBD
;**********************************************************************
build executable ".\imdesktop.exe" ".\main.ico" ".\recources.pbr" "NN"
build Library ".\imdesktop.pbl" "" PBD
build Library ".\reports.pbl" "" PBD

;**********************************************************************
; Close the PBORCA Session
;**********************************************************************
end session

After this script there are two .pbd files and one .exe. The application does not work. 

So, the question: how can I generate netmodule files for PBLs via orca script?

Vasily Maleev

unread,
Aug 22, 2013, 1:53:56 AM8/22/13
to pb...@googlegroups.com
Solved. I use PB2CS.exe to convert pb code to c#, then compile netmodule files.
Reply all
Reply to author
Forward
0 new messages