1. juliano prado
  2. PowerBuilder
  3. Wednesday, 28 April 2021 14:50 PM UTC

Currently I'm working on a desktop application on PB19 R3, it is connected over GIT. To apply any change made on code to PBL is needed to "refresh", like this attached image.

I need to build this application outside IDE, but I still need to perform this exactly refresh, how can I do this outside PB IDE? Something like ORCA or cmd will work for me.

When I refresh over IDE it spends about 3min, but I'm asking because I have tried execute this refresh with ORCA ("scc refresh target"), following some tips like that:

https://community.appeon.com/index.php/qna/q-a/orca-script-to-refresh-pbls

But I'm now sure if that is exactly that I need, because if we copy this example to my application it took 5h, far from 3min that took over IDE. It seams this scc refresh execute a full build, not just a simple refresh. 

Thank you,

Juliano

 

 

Attachments (1)
Tom Jiang @Appeon Accepted Answer Pending Moderation
  1. Thursday, 29 April 2021 05:40 AM UTC
  2. PowerBuilder
  3. # 1

Hi Juliano,

I am wondering why do you just need to refresh without building the application? If ORCA script takes too much time, you may run it during the night in a scheduled task. 

On the other hand, there is a new tool PBAutoBuild, which provide more powerful functions and will replace ORCA. For starters, it allows you to download source files, merge to PBLs and build the application all in one place. You can choose to just do the download source files and merge to PBLs parts. I recommend that you try it and see if it works for you. It is in beta test period, so your feedback is very important for us to improve this tool. 

You can download and install PowerBuilder 2021 Beta to try this tool. The installer link is available in the download center: https://account.appeon.com/download

Here is the documentation for how to use  it for PowerServer project but PowerBuilder project is basically the same. You just need to export the JSON file from a normal application project rather than a PowerServer project in PB IDE. https://docs.appeon.com/pb2021/whats_new/Building_your_PowerServer_project_with_commands.html

Regards,

Tom Jiang

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 29 April 2021 14:53 PM UTC
Hi Tom, so you mean PBAutoBuild supports traditional client/server, PowerClient, and PowerServer project types? For PowerServer project type, does it only generate the client portion or does it also generate the server portion?
  1. Helpful
  1. Ken Guo @Appeon
  2. Friday, 30 April 2021 09:26 AM UTC
Hi Armeen,



1. PBAutoBuild support traditional client/server, PowerClient, and PowerServer project types.

2. For PowerServer project type, it generates both the client portion and server portion.



Regards,

Ken

  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 30 April 2021 15:22 PM UTC
Excellent... very powerful new feature!
  1. Helpful
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.