- David Peace (Powersoft)
- PowerBuilder
- Monday, 13 January 2020 10:51 AM UTC
Hi Guys
I've build a script to get the latest sources from Source Control via ORCA Script, this is not getting the latest versions and I cannot see why.
My script is below:
start session
scc get connect properties PBWPath
scc connect
scc get latest version PBRPath
scc set target PBTPATH "outofdate"
scc refresh target "full"
build application full
build EXECUTABLE PBEXEPath ICONPath PBRPath LIBFlags
scc close
end session
Specifically the refresh target "full" is doing nothing, I originally hade "incremental" and that did not work either.
Below is the output when running the script:
Appeon (R) OrcaScript interpreter version 17.2
Using ANSI source file C:\Workspaces\PowerBuilder\pb2017r3\pbbuild.txt.
Start Session
scc get connect properties "C:\Workspaces\PowerBuilder\pb2017r3\powersoft\psproducts.pbw"
scc connect
scc get latest version
C:\Workspaces\PowerBuilder\pb2017r3\powersoft\pssupport.pbr
scc set target "C:\Workspaces\PowerBuilder\pb2017r3\powersoft\PSProjects\pssupport\main\pssupport.pbt" "OUTOFDATE"
Lib List for SccTarget
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\main\main.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\ancestors\ancestors.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\dropdowns\dropdowns.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\mail\mail.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\systray\systray.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\spellcheck\spellcheck.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\invoice\invoice.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\releasetext\releasetext.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\shared\shared\shared.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\shared\security\security.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\shared\tsreports\tsreports.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\shared\winsock\winsock10.pbl
c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\reportviewer_dw\reportviewer_dw.pbl
scc refresh target full
Build Application "Full"
Creating compilation list...
Creating c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\main\main.pbl(dw_emp_list.srd)...
Creating c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\main\main.pbl(d_srn_text.srd)...
Creating c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\main\main.pbl(d_srn_text2.srd)...
Creating c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\main\main.pbl(d_srn_timesheets.srd)...
Creating c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\main\main.pbl(d_status_codes.srd)...
Creating c:\workspaces\powerbuilder\pb2017r3\powersoft\psprojects\pssupport\main\main.pbl(d_status_history.srd)...
As you can see there is no output from the scc refresh target full......
Any thoughts or pointing out the obvious mistake all welcome.
Thanks
David
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.