1. Abderrahmane Zahrir
  2. PowerBuilder
  3. Thursday, 29 June 2023 08:32 AM UTC

Hi,

After upgrading to 2022, we have decided to move away from orca and use PBAutoBuild220.exe

 

If we set RefreshPbl to false in ...

"Merging": [
{"Target": ".\\gtpolicy.pbt","LocalProjectPath": ".","RefreshPbl": false}
],

the pbl files are regenerated without any issue.

However when we set RefreshPbl to true PBAutoBuild220 fails with the message

09:17:49 [Normal] Compiling u_dyn_ancestor.sru...
09:17:49 [Normal] Calling cm_rebuild_application(CM_REBUILD_FULL).

09:17:50 [Error] Library: C:\Users\xxx\Documents\github\Maker\src\funcnz.pbl
09:17:50 [Error] Object: f_setdbcodes
09:17:50 [Error] Forward Prototype Declarations
09:17:50 [Error] (0002): Error C0001: Illegal data type: u_trans

09:17:50 [Error] Library: C:\Users\xxx\Documents\github\Maker\src\uobjam.pbl
09:17:50 [Error] Object: u_dyn_meta
09:17:50 [Error] Forward Declarations
09:17:50 [Error] (0002): Error C0001: Illegal data type: u_dyn_ancestor
09:17:50 [Error] Object: u_dyn_ancestor
09:17:50 [Error] Forward Declarations
09:17:50 [Error] (0002): Error C0001: Illegal data type: uo_ancestor

09:17:50 [Error] Errors encountered during import/compile. Check SMS log.
09:17:50 [Error] SCC operation failed. See SMS log.
09:17:50 [Normal] End merging the source code.
09:17:50 [Error] Failed to merge the source code.

Can anybody help

Regards, Dahmanj

Abderrahmane Zahrir Accepted Answer Pending Moderation
  1. Friday, 30 June 2023 14:49 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

We use git and github for our Source Control. However access to github has not been enabled through the powerbuilder IDE.

I will  be happy to have a webex session with you to speed up the process  

Regards, Dahman

Comment
  1. Chris Pollach @Appeon
  2. Friday, 30 June 2023 15:41 PM UTC
Hi Dahman;

Unfortunately, I am not a GIT expert user at any level. Hopefully, a GIT Guru will chime in here to help you further.

FWIW: On my test systems I use "Git for Windows v2.41.0" for the server and Tortoise GIT as the client (version 2.14.0.1) - a *matched pair"

I have found in the past that some GIT issues I had were fixed by updating to the latest GIT client. Just my $0.02

Regards ... Chris
  1. Helpful
There are no comments made yet.
Abderrahmane Zahrir Accepted Answer Pending Moderation
  1. Friday, 30 June 2023 08:11 AM UTC
  2. PowerBuilder
  3. # 2

Reading between the lines, from the issue I am encountering, it is telling me that PBAutoBuild is very basic and lacks a lot of functionalities that orcascr can handle. 

Is there a way to make PBAutoBuild  more intelligent so that when it detects a declaration that was not linked, it will scan for it rather than fail the build.

 

Regards, Dahman 

Comment
There are no comments made yet.
Abderrahmane Zahrir Accepted Answer Pending Moderation
  1. Thursday, 29 June 2023 12:20 PM UTC
  2. PowerBuilder
  3. # 3

Thanks Chris for your reply.

I have just upgraded to 2022 for both PB IDE and runtime.

 PBAutoBuild utility is running on my dev machine

 

When I do a full get I am still using orca to generate the pbls then can use PB IDE to perform any action including full build.

Note that PBAutoBuild does not fail when using those pbls and setting RefreshPbl to false

I am not aware of a way to Refresh the Pbls through the IDE 

 

Regards, Dahman

Comment
  1. Chris Pollach @Appeon
  2. Friday, 30 June 2023 12:23 PM UTC
Hi Dahman;

This could be related to your SCM.

What SCM "server" version & build are you using?

What SCM "client" version & build are you using?

Regards ... Chris
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 29 June 2023 11:44 AM UTC
  2. PowerBuilder
  3. # 4

Hi Dahmanj;

Can you tell us ...

  • What build of the PB IDE & runtime are you using?
  • Is the PBAutoBuild utility running on your Dev machine?
  • What happens if you perform a Full Get on your objects from your SCM in the PB IDE & then perform a "full build" - does it build clean?

Regards ... Chris 

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.