[7.7.1] how to load a class from a previous package version

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[7.7.1] how to load a class from a previous package version

Holger Kleinsorgen-4
Hello,

I'm a bit puzzled: how can I load a class from a previous package
version? The dialog lets me file out the class (which I currently use as
workaround), but not load it:

http://www.abload.de/img/load-class1b4d.png

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7.1] how to load a class from a previous package version

Alan Knight-2
Interesting. It appears it believes it will only load if the class is already in the image. So a workaround (apart from modifying oneItemAndInImage) would be to define the class with some arbitrary definition and then load over top of it.

At 04:39 PM 2010-08-24, Holger Kleinsorgen wrote:
Hello,

I'm a bit puzzled: how can I load a class from a previous package
version? The dialog lets me file out the class (which I currently use as
workaround), but not load it:

http://www.abload.de/img/load-class1b4d.png

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7.1] how to load a class from a previous package version

Georg Heeg

Alan,

 

I can confirm what Holger said: The load menu item is gone from all browsers which show method/class versions in a Store repository.

 

Georg

 

Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812

Tel. +49-3496-214328, Fax +49-3496-214712

Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Alan Knight
Gesendet: Dienstag, 24. August 2010 23:30
An: Holger Kleinsorgen; VWNC
Betreff: Re: [vwnc] [7.7.1] how to load a class from a previous package version

 

Interesting. It appears it believes it will only load if the class is already in the image. So a workaround (apart from modifying oneItemAndInImage) would be to define the class with some arbitrary definition and then load over top of it.

At 04:39 PM 2010-08-24, Holger Kleinsorgen wrote:

Hello,

I'm a bit puzzled: how can I load a class from a previous package
version? The dialog lets me file out the class (which I currently use as
workaround), but not load it:

http://www.abload.de/img/load-class1b4d.png

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 

--

Alan Knight [|], Engineering Manager, Cincom Smalltalk


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7.1] how to load a class from a previous package version

Alan Knight-2
I find it interesting you can confirm that, as it's clearly not gone, it's there in the picture. It's just disabled.

At 06:13 PM 2010-08-24, Georg Heeg wrote:
Alan,
 
I can confirm what Holger said: The load menu item is gone from all browsers which show method/class versions in a Store repository.
 
Georg
 
Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
Tel. +49-3496-214328, Fax +49-3496-214712
Von: [hidden email] [[hidden email]] Im Auftrag von Alan Knight
Gesendet: Dienstag, 24. August 2010 23:30
An: Holger Kleinsorgen; VWNC
Betreff: Re: [vwnc] [7.7.1] how to load a class from a previous package version
 
Interesting. It appears it believes it will only load if the class is already in the image. So a workaround (apart from modifying oneItemAndInImage) would be to define the class with some arbitrary definition and then load over top of it.

At 04:39 PM 2010-08-24, Holger Kleinsorgen wrote:

Hello,

I'm a bit puzzled: how can I load a class from a previous package
version? The dialog lets me file out the class (which I currently use as
workaround), but not load it:

http://www.abload.de/img/load-class1b4d.png

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
 
--
Alan Knight [|], Engineering Manager, Cincom Smalltalk
[hidden email]
[hidden email]
http://www.cincom.com/smalltalk

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7.1] how to load a class from a previous package version

Samuel S. Shuster-2
In reply to this post by Holger Kleinsorgen-4
Holger:

> I'm a bit puzzled: how can I load a class from a previous package
> version? The dialog lets me file out the class (which I currently use as
> workaround), but not load it:


Oops! Yeah, that's not right!

Change the last line in ClassListPane >> oneItemAndInImage

from:
                selection definition correspondingImageClass notNil]

to:
                selection package storeModel notNil]

We want to make sure the package is in the image, not the class.

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, Store Project
Smalltalk Enables Success -- What Are YOU Using?




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc