Cool. So you didn't use some Application's #loaded to put the value into the Smalltalk PoolDict, but misused the config expressions feature. Combined with a packaging rule that includes the constant in the packaged image, that would be exactly what I'm looking for.
I am not sure I fully understood it. Are you saying you used some config expression to set the number and returned false so that it was never used for loading required maps? Dirty and cool at the same time ;-?
I think I like the concept, because I could call some method that does the "heavy lifting" of automatically reading the version name of the config map's loaded edition.
But as I understand the load order of config maps, I cannot access the edition of the map that is currently in process of loading, right? At the moment a config expression is evaluated, the edition of the map may is most likely not yet loaded, becaus envy will first have to check if it has to load required maps before that . So I'd have to either always use the latest map edition or manage that String manually, right?
So the last piece in my mosaic would be if there is a way to access the map edition from within a configuration expression and I'd buy into this idea instantly!
Thanks for sharing this idea, it sounds promising to me.
But maybe I see another alternative:
Why not use the #loaded method of some Application in the topmost map, that asks for the loaded version of my top map and does the same thing? .... hmmm. gotta think about it.
Joachim