Today I was in the last bit of an update from VW 7.6 to VW 7.8 (the last bit of the major work; I'm sure there will be small stuff popping up for weeks yet). The thing I ran into was in my build tool - it just wouldn't build a working runtime. I assumed it was a problem with my script, so I tried RTP to see if things went differently for me (even though I really dislike RTP...). Lo and behold, it failed the same way, but I managed to get an error log (no idea why my build didn't spit one out, but there it is). This method caused me fits, in SystemEventInterest:
notifyStoreBrowser
"StoreRefactoringBrowser has an interest in #earlySystemInstallation. When that event occurs,
it will clear out any open browsers."
Store.Glorp.StoreRefactoringBrowser cleanUpObsoleteInstances
I have no idea why that doesn't have an "isRuntime" check in it - and after speaking to some people at Cincom, I learned that it's probably the eventual answer. In any case, I changed it to look like this:
notifyStoreBrowser
"StoreRefactoringBrowser has an interest in #earlySystemInstallation. When that event occurs,
it will clear out any open browsers."
DeploymentOptionsSystem isRuntime
ifFalse: [Store.Glorp.StoreRefactoringBrowser cleanUpObsoleteInstances].
Which prevents the message from being sent to the (deleted in a runtime) class. It's always something :)
Technorati Tags:
runtime, deployment