Hi Dale,
-- I was reading: https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloScriptingAPI.md And while I do understand the default if I don't specify a version, I wonder how I can do the following.... I have an "admin" component in my seaside up that triggers an update of the software. That, basically invokes: (Smalltalk at: #Metacello) new configuration: 'MyApp'; version: '1.4'; load: #('Core' 'DPOFX'). Now...I have different gemstones deployed with different versions of my app. The version has no blessing in particular (is not always #stable or whatever). A site may have loaded 1.3 another 1.4 etc... However, I want a general way to update-reload the same version. So .. is there a way to modify the above script so that instead of using version 1.4 I use the version that was previously loaded? Note that the original version was loaded with the same script as above, so it should be present in the metacello registration. Thanks in advance, Mariano http://marianopeck.wordpress.com You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Mariano, The following should work:(Smalltalk at: #Metacello) image configuration: 'MyApp'; load: #('Core' 'DPOFX'). On Wed, Oct 15, 2014 at 8:02 AM, Mariano Martinez Peck <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
On Wed, Oct 15, 2014 at 1:38 PM, Dale Henrichs <[hidden email]> wrote:
And if found it will try to reload the very same version found?
Mariano http://marianopeck.wordpress.com You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Yes if you do not specify the version in the call, then the version from the registration is used ... On Wed, Oct 15, 2014 at 9:39 AM, Mariano Martinez Peck <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
OK, cool. Thanks Dale. On Wed, Oct 15, 2014 at 1:54 PM, Dale Henrichs <[hidden email]> wrote:
Mariano http://marianopeck.wordpress.com You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |