Hi,
I try make batch build.
My SCC is VSS and I work with PB 11.9.
Try to make daily build with PB22R3.
Step 1 copy all pbl into build machine
Step 2 generate one pbd from dlls using pbx2pbd220.exe
Step 3 Migrate from ide and apps work fine
Because its huge app testing must take a lot time and developers still working
My idea is: export changed object into folder ws_objects and call orca script
(in test only one object).
start session
set debug true
scc set connect property localprojpath "c:\erp630"
scc set connect property logfile "c:\erp630\CreatePBLs.log"
scc set connect property logappend false
scc connect offline
scc set target "c:\ERP630\ERP630.pbt" "IMPORTONLY"
scc exclude liblist "C:\ERP630\pbd\erpapppbd\erpapppbd.pbd"
scc refresh target incremental
scc refresh target "3pass"
scc close
end session
After it:
Log contains no error.
If i try open my pbw in ide i see window with communicate: It must be migrated
Hmm try as next step PBAUTOBUILD
Export project into proj.json
And call
c:\build\util\PBAutoBuild220.exe /f "c:\ERP630\proj.json" /l Log_PBBuild.log /le Log_PBError.log
If %ERRORLEVEL% == 0 (
echo Run PBAutoBuild successfully.
) Else (
echo Failed to run PBAutoBuild, Errorlevel is %ERRORLEVEL%.
)
And its call end with error -1073741819 (what, why?)
Log_PBError.log is empty 0KB
The IDE does not request migration but object in library is in uchanged wersion.
Does anyone have any ideas on how to implement the scenario?
PB11.2 --> VSS
<--
And daily VSS ->PB2022 R3 ?
I will be grateful for all ideas because I have already exhausted my creativity