David Price | 4 Jan 2008 01:38

Re: Retrieve Bundle Version

Roberto Fonseca wrote:
>
> My problem is that when I use RuntimePackager to create the user image 
> the code no long works. I changed the parameters we were using to keep 
> some classes that I thought would fix the issue but nothing worked. I 
> even tried to keep *ALL* classes/packages in the image to no avail.
>

My inclination would be to save the version number to a shared variable 
in the post-load action for the relevant package/bundle.  This does 
depend to an extent on you loading packages into a clean image before 
using the runtime packager, but in order to have a reproducible process, 
that's probably a good idea any way.

David


Gmane