Hello,
System :
Windows 10 professionnal
Powerbuilder 2019 build 2170.
I have some issue to compile some applications.
dev_app.exe and dse_app.exe.
This two application where compiled successfully in PB2017 R2 1769(if i remeber correctly), PB12.5, and older versions.
We compile this applications in 2 separate .exe without any .pbd.
for dev_app there is 3 pbl
dev_app_compil.pbl
dev_app.pbl
dco_objet.pbl
and for des_app also 3
dse_app_compil.pbl
dse_app.pbl
dco_objet.pbl
the last one "dco_objet.pbl" is shared between the two.
When I try to compile these using a command line the files are too small and doesn't work.
Here the command line I use :
pbc190.exe /d "dep\dev_app.pbt" /r "dep\dev_app_target.pbr.pbr" /w n /m n /x 32 /bg n /o "dep\dev_app.exe" /cr "Copyright -® 2012 - 2020 XXXXXXX" /cp "XXXXXXX" /p "deployeuse_dev" /de "Compilation manuelle" /v "V0.0.0 (FLI-TESTS)"
pbc190.exe /d "dep\dse_app.pbt" /r "dep\dse_app_target.pbr.pbr" /w n /m n /x 32 /bg n /o "dep\dse_app.exe" /cr "Copyright -® 2012 - 2020 XXXXXXX" /cp "XXXXXXX" /p "deployeuse_dse" /de "Compilation manuelle" /v "V0.0.0 (FLI-TESTS)"
Do I made a mistake somewhere ? It run fine in PB2017.(pbc170.exe)
When I use the interface like in the image Capture1png
dev_app compile ok
but dse_app is ko
I got a pop up with this :
PBR name C:\devsid\compil\dep\dse_app_target.pbr is invalid.continue build anyway?
see Capture2.png
If I go with "Oui" (Yes in French) I Got this :
---------- Deploy: Deploy of target dse_app (16:24:56)
--------- Deploying project dse_app_exe
The current library list is different from the library list contained within this project. The project library list has been updated. Refresh build options for the changed list and try again.
---------- Finished Deploy of target dse_app (16:24:56)
But I don't understand why It show me à path, that is not the one I use for the "Ressource file name" : D:\Travail\23255\compil\dep\dse_app_target.pbr ? I have modified this one multiple time but every time I try to deploy it the same thing happen : "PBR name C:\devsid\compil\dep\dse_app_target.pbr is invalid.continue build anyway?"
I can deploy it by openning the object dse_app_exe in the pbl dse_app_compil.pbl and using the deply button in the toolbar.
see Capture3.png
What can I do to compile these 2 in command line ?
Why I can't modify the path of the ressource file name, I think an older path is stuck somewere and I cant rewrite it? Is there a way to bypass It