1. Aleš Vojáček
  2. PowerBuilder
  3. Tuesday, 5 October 2021 14:49 PM UTC

Hi all,

I'm using orca script + pbc210 to compile our application. 

Both files are attached (orca script and powershell script which is executed by TeamCity)

When I'm building application with PB or using scripts there is icon in exe file.

 

When I'm using PBAutoBuild210 the resulting exe has no icon.

Icon file is in root dir of project (there is pbt, pbr, pbl, pbw also).

Icon filename (without directory) is set by app painter and the filename is stored in sra file in variable : 

string appicon = "KZ.ico"

I thing that the problem is merging changes from git (ws_objects/* files) because all pbls are restored from exported files. 

In orca script there is 3pass refresh and in PBAutoBuild it seems that there is only FullBuild.

I tried everything what I thought could help.

Thank you Ales

P.S.

build.orca + build.ps1 = files which are used to build on TC server and everything is ok.

buid_future.ps1 + konzultace.json = files used to build using PBAutoBuild210 and there is no icon in exe

 

Attachments (1)
Accepted Answer
Aleš Vojáček Accepted Answer Pending Moderation
  1. Thursday, 4 November 2021 10:13 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi,

if someone cares about reported bug (https://www.appeon.com/standardsupport/track/view?id=7338)

The problem was fixed in latest release of PB2021 (Build 1311)

 

Best regards Ales

Comment
There are no comments made yet.
Aleš Vojáček Accepted Answer Pending Moderation
  1. Wednesday, 13 October 2021 08:43 AM UTC
  2. PowerBuilder
  3. # 1

So,

after while Appeon found the problem and suggest workaround, but I think we will stay with orca/pbc solution until bug is removed.

 

Here is Bug report if someone is curious:

https://www.appeon.com/standardsupport/track/view?id=7338

 

Ales

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 5 October 2021 15:14 PM UTC
  2. PowerBuilder
  3. # 2

Hi Aleš ;

  Also, make sure that ...

  1. The ICO file is between 16x16 => 256x256 pixels with a maximum of a 32bit colour depth.
  2. The previous EXE file has been deleted from the build target directory.

HTH

Regards ... Chris

Comment
  1. Aleš Vojáček
  2. Tuesday, 5 October 2021 17:54 PM UTC
I did create ticket, so we will see if something can be done to create exe with icon :-)

Thank you.

  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 5 October 2021 18:49 PM UTC
Hi Ales .. yes, I see ticket #7338 in the queue now. BTW: I also see that you are using ORCA in front of the PBAutoBuild utility. Note that you no longer need to use ORCAScript for processing the SCM repository ahead of the compile. The PBAutoBuild utility can do it all.

http://docs.appeon.com/pb2021/pbug/ch07s03.html#Build_the_Application_project_with_commands

  1. Helpful
  1. Aleš Vojáček
  2. Tuesday, 5 October 2021 19:49 PM UTC
I know.

orcascript + build.ps1 is current build process.

build_future.ps1 is the new build. Getting sources from git is done by TeamCity build server, so orca/pbautobuild only merge changes from ws_objects dir and compile.

A.
  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.