1. Giuseppe moglia
  2. PowerBuilder
  3. Tuesday, 10 September 2019 15:29 PM UTC

Hi Guys

I have a SVN repository, so If I want to get all from this and run a build I have to

Get all from SVN

run the orcascript with orascr170.exe

run pbc170.exe with parameters to build my application

Is that right?

Profiling orcascr170 and pbc170 I've seen calls to files *.sr* under ws_objects from Sourcecontrolfilemap during orcascript running and also during pbc170 running

Is that right?

Refreshing pbls from objects in ws_objects directories is a step done during orca or during pbc or during both of them?

Thanks a lot

Giuseppe moglia Accepted Answer Pending Moderation
  1. Saturday, 25 July 2020 09:40 AM UTC
  2. PowerBuilder
  3. # 1

Any hints?

Comment
  1. Chris Pollach @Appeon
  2. Saturday, 25 July 2020 15:29 PM UTC
Hi Guiseppe;

Yes, process you list is correct.

ORCAScript is the one that will pull down the PB objects as *.sr* files & then populate your PBL files. The *.Sr* files will be brought down from SVN into WS_Objects folder during the SCM import phase. The PBC compile should only use your PBL files.

HTH

Regards ... Chris
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Monday, 27 July 2020 09:20 AM UTC
  2. PowerBuilder
  3. # 2

Hi Guiseppe,

 

PBC doesn’t rely on ws_objects. It is built based on PBL.

ORCAScript will import the object files in ws_objects to the PBL first and then do the build.

Thus when you compile the application, you can:

  1. Get all from SVN, mainly Get ws_objects.
  2. Use ORCAScript to execute Import and Build EXE. Or use ORCAScript to execute Import and then use PBC to build EXE.

 Regards,

Ken

Comment
There are no comments made yet.
Giuseppe moglia Accepted Answer Pending Moderation
  1. Monday, 27 July 2020 10:14 AM UTC
  2. PowerBuilder
  3. # 3

Thank you Ken

but have you tried with my example?

It works compiling window with background changed even if the compilation pipeline does not include orca

Just SVN and pbc

If you want I can share with you my screen and we can know how does it works?

Moreover how does it works SourceFileControlMap.exe included in Appeon distribution?

Thanks

Comment
There are no comments made yet.
Giuseppe moglia Accepted Answer Pending Moderation
  1. Wednesday, 29 July 2020 10:12 AM UTC
  2. PowerBuilder
  3. # 4

Hi Ken, Chris

have you checked?

thanks

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 29 July 2020 12:59 PM UTC
Hi Guiseppe .... That should be very easy to verify. Just rename the "ws_objects" to something like "ws_objects_xx" before running the PBC utility. That should complain if it really uses it. My doubts though.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Giuseppe moglia Accepted Answer Pending Moderation
  1. Thursday, 30 July 2020 09:27 AM UTC
  2. PowerBuilder
  3. # 5

Chris, Ken 

I did another check

I created another scenario without compile step, so I have 2 cases:

1. SVN +PBC

2. SVN

The Workspace has 2 pbl, the first one contains the app, the second one contains just the window called on Open event of the app

Now I changed the background of the window from RED to PURPLE and run a commit on my SVN Repository from PB IDE

Jenkins on build machine runs the first and second scenario and

On scenario 1 the background is PURPLE

On scenario 2 the background is RED

So it seems PBC refresh pbl from ws_objects files

None of the scenarios contains an orca step

Why if pbc does not import *.sr* files?

SourceControlFileMap.exe, what is the scope of this?

 

Thanks

 

Comment
  1. Ken Guo @Appeon
  2. Monday, 3 August 2020 09:31 AM UTC
Hi Guiseppe,



Currently, when PBC is running, it indeed will import the source files in the ws_objects folder to the PBL. However, it is not what we design and it hasn’t been fully tested.

Thus I suggest you generate PBL via SVN + ORCAScript, delete ws_objects and then use PBC to deploy PBLs to EXE.

In the meantime, we will do further research on this issue and try to implement a functionality that can control whether to use the source files in the ws_objects folder via parameter when running PBC.



Regards,

Ken
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Monday, 25 January 2021 01:44 AM UTC
  2. PowerBuilder
  3. # 6

Hi Giuseppe,

Good news that PowerBuilder 2019 R3 GA (build 2670) is available for download. Please download and install it to verify the issue you reported and let us know if any problems. You can get the installer from our Downloads portal at https://account.appeon.com/download/2019 (login required).

Now when executing pbc, ws_object will no longer be used.

We welcome all feedback from you!

Regards,
Ken

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.