Hi
using OrcaScript we can build the PBLs with
start session
...
scc connect offline
scc set target "..\absenzverwaltung.pbt" importonly
scc refresh target 3pass
...
end session
This fails with R2 as the application sourced is not found. The source files are now located at different location than before.
From the Log:
...
Scc Connect Offline Successful.
PBORCA_SccSetTarget: e:\projects\absentia & av\av\buildtest\absenzverwaltung.pbt
Target settings: IMPORT ONLY | REFRESH ALL (Implicit)
App Name: absenzverwaltung App Lib: e:\projects\absentia & av\av\buildtest\absenzverwaltung\absenzverwaltung.pbl
Library List:
e:\projects\absentia & av\av\buildtest\absenzverwaltung\absenzverwaltung.pbl
....
Bootstrapping Application...
Application object not found: e:\projects\absentia & av\av\buildtest\absenzverwaltung\absenzverwaltung.sra
PBORCA_SccClose
The sra file is actually at E:\Projects\Absentia & Av\av\BuildTest\ws_objects\absenzverwaltung\absenzverwaltung.pbl.src
Regards
Arthur
We use our own C++ Application that processes to target and builds the pbls and exe. So I have to change it at some places to make it work.
\code
\folder1
\src
\folder2
\src
\demo.pbw
When we add the workspace to source control (git), the ws_objects folder structure is created in the root of the workspace, i.e. \ws_objects. Then another dev opens the workspace in PB to download the repo. The orca script then fails with the error "Application object not found: d:\code\folder1\src\app1.sra"
Do we really need to copy all of the *.sr* files out from the ws_objects folder into the main src folder? Our production application has >10k objects. Can you provide the script to do the copy so we can adapt it to our use case?