1. Steven Turner
  2. PowerBuilder
  3. Sunday, 16 June 2019 13:01 PM UTC

We are migrating an application from PVCS to Git and have encountered an issue with creating the local repository. Our  directory structure (which I believe to be the issue) is a main folder with 3 sub-folders (PFC, SMT, SHARED).

The application object is under the SMT folder, so when the local repository is created, only the objects under the SMT folder are inserted into the ws_objects folder. How do I get the other sub-folders to be added to ws_objects?

If I move the folders (PFC, SHARED) under SMT, the local repository is created successfully. Our preference is to keep the current PVCS structure and do a straight migration to Git.

All of my tests scenarios so far allow me to recreate the structure in Git, but I am unable to create the local repository from within PowerBuilder 2017 R3. Therefore, I have no Git user interface within PB. It would be a pain to constantly switch between PB and Windows Explorer to do commits, push, etc..

Thanks in advance for your help...

Accepted Answer
Michael Kramer Accepted Answer Pending Moderation
  1. Sunday, 16 June 2019 22:57 PM UTC
  2. PowerBuilder
  3. # Permalink

Hey Steven,

My experience is that PB IDE creates its "internal git repository" rooted in the .PBW file's folder. So, let's say my folder hierarchy is:

  • C:\DEV
  • C:\DEV\SMT
  • C:\DEV\PFC
  • C:\DEV\SHARED

Now, the .PBW file defines where my git repo is rooted - and hence where my ws_objects folder is created.

  • C:\DEV\SMT\MyDev.PBW =>
    • git repo in C:\DEV\SMT
    • source in C:\DEV\SMT\ws_objects
    • PB files in git repo only within C:\DEV\SMT

However,

  • C:\DEV\MyDev.PBW =>
    • git repo in C:\DEV
    • source in C:\DEV\ws_objects
    • PB files in git repo within C:\DEV, incl. both .\SMT, .\PFC, and .\SHARED

HTH /Michael

Comment
There are no comments made yet.
Steven Turner Accepted Answer Pending Moderation
  1. Monday, 17 June 2019 10:08 AM UTC
  2. PowerBuilder
  3. # 1

Thanks Michael. I will give this a try today.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.