Hi all.. As I mentioned in my last email, I'm working on a few
Magritte related changes and have a newer version of Magritte loaded and running in VW (Magritte-All-lr.270) but when I try to publish it to my local store I get the following message from VW which i've never seen before: "One or more of the components in Magritte overrides another. Publishing will cause one to replace the other when loading. It is recommended that you resolve these redundancies before publishing.. Continue?" I believe I'm understanding what it's complaining about but do not understand how to remedy this once I select "View overrides".. It comes up with a list of 20-30 items but I'm clueless on how to proceed.. From what I can tell, it's complaining because I've got Magritte-overrides that live in another package (in this case MagritteForVisualWorks). Anyway, one of the complaints is for : Magritte.MAValidationError class>>description:signal: Interestingly enough I only find one definition for that method and it lives in the other package (MagritteForVisualWorks).. I don't see that as a problem since the MagritteForVisualWorks package is to be loaded AFTER the main Magritte package.. Is this simply a dependency issue? Anyway, advice on how to proceed would be much appreciated! -- Rick _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Rick,
If I am not mistaken, his message appears when you have a method in one package and an override for the method in a second package, and publish a bundle containing both (I haven't done this myself, so I am guessing here). The override list will show you the method which is currently on top of the "override stack". To see the overridden methods, you have to select the method in the refactoring browser and select the tab "Overridden" - browsing for implementors does not show the overridden methods. The "Overridden" tab will show you a list of the overridden methods and the packages defining them. The list has a context menu where you can choose to restore or dismiss an overridden method to resolve the conflict. HTH, Joachim Am 08.08.08 20:13 schrieb Richard E. Flower: > Hi all.. As I mentioned in my last email, I'm working on a few > Magritte related changes and have a newer version of Magritte loaded > and running in VW (Magritte-All-lr.270) but when I try to publish it > to my local store I get the following message from VW which i've never > seen before: > > "One or more of the components in Magritte overrides another. > Publishing will cause one to replace the other when loading. > > It is recommended that you resolve these redundancies before > publishing.. > > Continue?" > > I believe I'm understanding what it's complaining about but do not > understand how to remedy this once I select "View overrides".. > > It comes up with a list of 20-30 items but I'm clueless on how to > proceed.. From what I can tell, it's complaining because I've got > Magritte-overrides that live in another package (in this case > MagritteForVisualWorks). Anyway, one of the complaints is for : > > Magritte.MAValidationError class>>description:signal: > > Interestingly enough I only find one definition for that method and it > lives in the other package (MagritteForVisualWorks).. I don't see that > as a problem since the MagritteForVisualWorks package is to be loaded > AFTER the main Magritte package.. Is this simply a dependency issue? > > Anyway, advice on how to proceed would be much appreciated! > > -- Rick > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Rick Flower
Richard E. Flower wrote:
> "One or more of the components in Magritte overrides another. > Publishing will cause one to replace the other when loading. > > It is recommended that you resolve these redundancies before > publishing.. > > Continue?" > > This is new since 7.6, earlier versions would have refused to publish your bundle. This is supposed to fix bundles so now we can publish (ThirdPartyPackage + MyPatchesToThatPackage + MyApplication) in a single version of a bundle. I think the dialog is awkward though, perhaps we need a marker on the bundle saying that overrides by [MyPatchesToThatPackage] are allowed but that others are suspect. Currently we have to answer the dialog every time we publish such a bundle -- we are training ourselves to become blind to it ;-) R - -- ********************************************************************* Dit e-mailbericht is alleen bestemd voor de geadresseerde(n). Gebruik door anderen is niet toegestaan. Indien u niet degeadresseerde(n) bent wordt u verzocht de verzender hiervan op de hoogte te stellen en het bericht te verwijderen. Door de elektronische verzending kunnen aan de inhoud van dit bericht geen rechten worden ontleend. Soops B.V. is gevestigd te Amsterdam, Nederland, en is geregistreerd bij de Kamer van Koophandel onder nummer 33240368. Soops B.V. levert volgens de Fenit voorwaarden, gedeponeerd te Den Haag op 8 december 1994 onder nummer 1994/189. ********************************************************************** This e-mail message is intended to be exclusively for the addressee. If you are not the intended recipient you are kindly requested not to make any use whatsoever of the contents and to notify the sender immediately by returning this e-mail message. No rights can be derived from this message. Soops B.V. is a private limited liability company and has its seat at Amsterdam, The Netherlands and is registered with the Trade Registry of the Chamber of Commerce and Industry under number 33240368. Soops B.V. delivers according to the General Terms and Conditions of Business of Fenit, registered at The Hague, The Netherlands on December 8th, 1994, under number 1994/189 ********************************************************************** _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |