Move a class to a different application?

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

Move a class to a different application?

Carl Gundel-2
I'm trying to move a class from one application to another, but it seems as though ENVY will only permit this if the application I want to move it to is in the same containing top level application it is already in.  Is this right?  Seems like a pretty arbitrary limitation.
 
Thanks,
 
-Carl

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Move a class to a different application?

Instantiations mailing list
Hi Carl,

do I understand that right?

You want to move a class to a SubApp where you already have an extension f the very same class defined?

You might need to move the methods of the extension to the class to move and then delete the extension. After that you should be able to move the class.

Sebastian

On 2014-10-30 7:48 AM, Carl Gundel wrote:
I'm trying to move a class from one application to another, but it seems as though ENVY will only permit this if the application I want to move it to is in the same containing top level application it is already in.  Is this right?  Seems like a pretty arbitrary limitation.
 
Thanks,
 
-Carl
--
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.

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Move a class to a different application?

Richard Sargent
Administrator
In reply to this post by Carl Gundel-2
On Thursday, October 30, 2014 7:48:30 AM UTC-7, Carl Gundel wrote:
I'm trying to move a class from one application to another, but it seems as though ENVY will only permit this if the application I want to move it to is in the same containing top level application it is already in.  Is this right?  Seems like a pretty arbitrary limitation.

It's not quite that. ENVY requires prerequisites be honoured. So, if your class is in application X which has applications A, B, and C as its prerequisites, and you want to move the class to application Z, application Z must have the correct prerequisites (at least A, B, and C). Additionally, the application of the super class of the one you want to move must be included in those prerequisites.

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Move a class to a different application?

Carl Gundel-2
Thanks Sebastian and Richard.  Your suggestions were very helpful.  :-)
 
-Carl

On Thursday, October 30, 2014 12:44:57 PM UTC-4, Richard Sargent wrote:
On Thursday, October 30, 2014 7:48:30 AM UTC-7, Carl Gundel wrote:
I'm trying to move a class from one application to another, but it seems as though ENVY will only permit this if the application I want to move it to is in the same containing top level application it is already in.  Is this right?  Seems like a pretty arbitrary limitation.

It's not quite that. ENVY requires prerequisites be honoured. So, if your class is in application X which has applications A, B, and C as its prerequisites, and you want to move the class to application Z, application Z must have the correct prerequisites (at least A, B, and C). Additionally, the application of the super class of the one you want to move must be included in those prerequisites.

--
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.