Hi
-- Sometimes my environment crashes. I'm good at breaking stuff, I'll accept responsibility ;) However! When I start up again, I immediately make image consistant. This doesn't pick up changes in my sub applications, only the Parent application. When I go through the sub apps and load the latest (unreleased) edition, the edition loads but none of the (unreleased) classes load. I then have to go through each class individually and load each one. I have sometimes had the further frustration where a class edition loads but not (all) the changed methods within that class. This is very odd behaviour and I was wondering if I was not doing something correctly or if there is some environment variable I need to set? Is my question confusing? do I need to clarify further? KR Dusty You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Clarification, Basically the unreleased class is not being associated with the unreleased app (sub app). Image attached.On Tue, Jul 29, 2014 at 11:34 AM, Dusty <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. notLoadingClass.PNG (197K) Download Attachment |
Hi Dusty, It's not you, that is the way make image consistent works. But you are in luck, I had the same problem. With some help from others in the group I have a solution that works for me. Attached is a file-out of a sub-class of #StsAbtApplicationsOrganizerView. It does most of the work. You should house it in any convenient application that is only loaded in your development environment. You will also need to add/modify these two class side methods of that edit time application: loaded removing The code will add a "Load Latest Changes" menu item to the "Applications>Load" menu. When you start up after a problem, you use this menu item to load the changed app and all the latest changes to its sub app and the classes within. This works most of the time but sometimes it fails, for various reasons. When it fails you can just revert back to the manual loading of each changed method. I hope it works for you. If you need help just ask. Lou You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. KscStsAbtApplicationsOrganizerView.st (1K) Download Attachment |
Administrator
|
In reply to this post by Dusty-2
>> When I go through the sub apps and load the latest (unreleased) edition,
the edition loads but none of the (unreleased) classes load.
-- In general, when you open an edition of a sub-application, you should release it to the open (parent) application. Bear in mind, "make image consistent" is definitely not - and not meant to be - the same as "recover last changes". It only ensures the loaded editions match the corresponding editions in the repository. As always, small changes versioned and released often is the best and safest way to operate. (TDD encourages this, of course.) If you have to go a long time with a large change, save a copy of your image from time to time. That will reduce the amount of changes left to recover. It will also make "make image consistent" more effective for your needs. On Tuesday, July 29, 2014 2:34:11 AM UTC-7, Dusty wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |