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
I hve migrated pbls
I change one or a few objects in PB11.2 and i want import them into pbl 2022 and build pbds and exe
Manually its work but how to do it automatically
I think that you are correct. You can't use PB 2022 R3 just for builds. You need to ...
1) fully migrate off PB 11.x
2) Migrate off using VSS (deprecated by Microsoft in 2005).
3) Switch off using VSS over to either SVN or GIT SCC.
Then you can use the PBAutoBuild properly once everything is PB 2022 R3 based. Especially since PBAB utility only works with either SVN or GIT SCC systems.
Regards ... Chris
If I understand it you are effectivly wanting to merge changes that you have made in PB11 with the source in PB2022. The potential problem with this idea is that there are some signigicant chanes to PB between those versions and some of the changes made in the migration will conflict with PB11. But I woudl start with an updated version if VSS to resolve your PBAutobuild problem.