Hi guys,
We are moving our code to a Git Repository and we are facing and issue with directories.
As per my tests everything works fine if PB workspace is on the root directory for the repository (ws folder is also created and managed from there). The problem is that the current repository has the application in a subfolder.
If I clone our repo on c:\application and I get the PBW file and its PBTs, PBL, etc from this location everything works pretty well.
But if I have an intermediate directory like c:\application\Admin\ not. The original git repository works on c:\aplication but PB creates a new one under c:\application\Admin\ so we have alike a sub repository and this is not wanted by my company.
Do it has to be always like this? Is there any way that PB uses the repository from the root directory instead of the one that it creates for itself?
Using PB2019 R3.
Thanks a lot for your help!
- Create a git project that houses all your non-PB code
- Have a seperate project for your PB app
- use git submodule to integrate the PB project into your main repo
PB's native git integration cannot properly handle submodules BUT since it's actually a seperate repo, connecting to the PB repo directly should work from PowerBuilder.
Ok, one more question, is ther a way to manually recreate PBLs from the exported objects like the option that you now have when yo choose Connect to workspace checkbox Refresh PBLs?