-
Konstantin Goldobin
- PowerBuilder
- Friday, 12 September 2025 02:41 PM UTC
Hello,
When I "Connect to Workspace" in PB 2025.3711 using the SVN native interface to a workspace with one target, and the application object of the target does not have the appruntimeversion instance variable, PB automatically adds this variable with the "25.0.0.3711" value. However, this variable exists in the application object that is placed in its PBL and does not exist in its corresponding .sra source file located under the ws_objects folder. Also, the application object is not marked as modified in the System Tree.
I was wondering if this phenomenon is restricted to appruntimeversion only or if there are observed cases when objects in PBLs get out of sync with their source code files under ws_objects.
For those who are curious enough to try to reproduce this, create the following structure in your SVN repository:
[ni]
[ws_objects]
[a.pbl.src]
a.sra
a.pbt
ni.pbw
a.sra:
forward
global type a from application
end type
global transaction sqlca
global dynamicdescriptionarea sqlda
global dynamicstagingarea sqlsa
global error error
global message message
end forward
global type a from application
string appname = "a"
end type
global a a
on a.create
appname = "a"
message = create message
sqlca = create transaction
sqlda = create dynamicdescriptionarea
sqlsa = create dynamicstagingarea
error = create error
end on
on a.destroy
destroy( sqlca )
destroy( sqlda )
destroy( sqlsa )
destroy( error )
destroy( message )
end on
a.pbt:
Save Format v3.0(19990112)
appname "a";
applib "a.pbl";
liblist "a.pbl";
type "pb";
ni.pbw:
Save Format v3.0(19990112)
@begin Targets
0 "a.pbt";
@end;
DefaultTarget "a.pbt";
DefaultExportEncode "ASCII";
DefaultRemoteTarget "a.pbt";
And then "Connect to Workspace" to ni.pbw using SVN.
Best regards,
Konstantin
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.