More Build Machine Woes:

More Build Machine Woes:

Our build machine, when building with Seattle, is not always putting MAINICON into the EXEs.  I've looked with a resource explorer.  They simply aren't there.  But sometimes the are (We build like 200 different EXEs).  

In each case, the main icon is set in the project options, the DPR has the {$R *.RES} right there, and the RES file is part of the build.

Any thoughts anyone?

Comments

  1. More details:  In some cases, the default "Window" icon is shown.  In one case, and Icon is shown that isn't even in the resources of the EXE!  Very strange.

    ReplyDelete
  2. BTW, the mystery, where-the-heck-did-that-come-from icon is a black 'X', and a number of our EXE's display it in Windows Explorer.

    ReplyDelete
  3. I think Embarcadero embedded special code that detects when you are using it. :)

    ReplyDelete
  4. Well, I think the answer is that these projects in question have never been opened in the new IDE, so the IDE hasn't had a chance to generate the default *.ico file, as it now does.  Those *.ico files aren't checked in to the repository, and thus not getting included.  What a pain -- now I have to open like 50 DPROJ files and compile them just to get the Icon files and check them in.  Grrrr.

    ReplyDelete
  5. Just be glad that it's only 50 and not all projects.

    ReplyDelete
  6. Seems related with your previous trouble with missing or incorrect manifests. You may invest some time to check that everybody in your team is working with the same configs. You may also need a way to warn you if something unexpected, like a missing .res file happens. Or you will be damned to seek and solve too many ghost in the future.

    ReplyDelete
  7. Always include your own resources. Always clear the icon cache on your local machines when testing.

    ReplyDelete
  8. The black X is probably from TMS. Been there, seen that.

    ReplyDelete
  9. This all stems from you letting the IDE manage resources. Take control.

    ReplyDelete
  10. The Ballad Of Nick Hodges

    Our build machine is not always putting MAINICON into the EXEs.
    Not even when we say "Please".

    I've looked with a resource explorer.  They simply aren't there. 
    They're not under the table. They're not under the chair.

    Sometimes we do find a black "X".
    It has us rather vexed.
    Lars blames TMS.

    It looks like we have to open all the projects in the new IDE.
    But when I say "we", I don't mean with Bruce McGee.
    Just me.

    I shall be up all night fighting this battle...
    you might say I'll be Sleepless in Seattle.

    ReplyDelete

Post a Comment