realbasic-nug
[Top] [All Lists]

IDE Script Builds and Icons

To: realbasic-nug at lists dot realsoftware dot com
Subject: IDE Script Builds and Icons
From: Adam Ernst <rb at cosmicsoft dot net>
Date: Mon, 30 Apr 2007 12:05:48 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I'm trying to use IDE Scripting to create an automated build of my  
software. However, when I use BuildApp to build my application and  
then immediately move it to a new destination, the application icon  
is frequently missing. Looking inside the bundle confirms that  
starQuiz.icns is missing for Mac builds; for Windows builds the icon  
is simply not present in the exe.

Has anyone else seen this? Can RS confirm that the app icon is the  
last thing output to the binary? My guess is that the binary streams  
aren't being flushed properly at then end of the build, and since RB  
IDE Script is synchronous, the streams never finish writing before I  
move the app to a different volume (a disk image) which would  
probably break the open stream. But that's only a tenuous guess, and  
I'm stumped and frustrated with this problem.

Inserting Sleep(3000) after the build seems to make the problem occur  
less but it still happens.

Adam

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • IDE Script Builds and Icons, Adam Ernst <=