get the names of the currently loaded mcz files
Hi, how can I get the names of the currently in my image loaded mcz files of a certain package? Example: The name of one of my packages is "RKA24-View". The currently loaded package version is "RKA24-View-SabineKnoefel.390.mcz" ==> I want to call a method with parameter "RKA24-View" and get "RKA24-View-SabineKnoefel.390.mcz" as result. Regards Sabine -- View this message in context: http://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Here is something I sometimes use: (MCWorkingCopy allManagers asSortedCollection: [ :a :b | a packageName <= b packageName ]) collect: #description. Have a look at WAVersionUploader or WASeasideVersionStatus. But I guess that there are possibilities with Ring as well. On 10 Jul 2014, at 15:18, Sabine Knöfel <sabine.knoefel@gmail.com> wrote:
Hi,
how can I get the names of the currently in my image loaded mcz files of a certain package?
Example: The name of one of my packages is "RKA24-View". The currently loaded package version is "RKA24-View-SabineKnoefel.390.mcz" ==> I want to call a method with parameter "RKA24-View" and get "RKA24-View-SabineKnoefel.390.mcz" as result.
Regards
Sabine
-- View this message in context: http://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi Sven, great, this helps! Thank you Sabine 2014-07-10 15:33 GMT+02:00 Sven Van Caekenberghe-2 [via Smalltalk] < ml-node+s1294792n4767405h50@n4.nabble.com>:
Here is something I sometimes use:
(MCWorkingCopy allManagers asSortedCollection: [ :a :b | a packageName <= b packageName ]) collect: #description.
Have a look at WAVersionUploader or WASeasideVersionStatus.
But I guess that there are possibilities with Ring as well.
On 10 Jul 2014, at 15:18, Sabine Knöfel <[hidden email] <http://user/SendEmail.jtp?type=node&node=4767405&i=0>> wrote:
Hi,
how can I get the names of the currently in my image loaded mcz files of a certain package?
Example: The name of one of my packages is "RKA24-View". The currently loaded package version is "RKA24-View-SabineKnoefel.390.mcz" ==> I want to call a method with parameter "RKA24-View" and get "RKA24-View-SabineKnoefel.390.mcz" as result.
Regards
Sabine
-- View this message in context: http://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767... To start a new topic under Pharo Smalltalk Users, email ml-node+s1294792n1310670h65@n4.nabble.com To unsubscribe from Pharo Smalltalk Users, click here <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&nod...> . NAML <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant...>
-- View this message in context: http://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Sven Van Caekenberghe-2 wrote
(MCWorkingCopy allManagers asSortedCollection: [ :a :b | a packageName <= b packageName ]) collect: #description.
This is useful enough to go somewhere more permanent... any ideas? ----- Cheers, Sean -- View this message in context: http://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
In the inspector :). When using the GTInspector, if you inspect MCWorkingCopy, you will get the list of all managers in a dedicated tab. Doru On Mon, Jul 14, 2014 at 1:08 AM, Sean P. DeNigris <sean@clipperadams.com> wrote:
Sven Van Caekenberghe-2 wrote
(MCWorkingCopy allManagers asSortedCollection: [ :a :b | a packageName <= b packageName ]) collect: #description.
This is useful enough to go somewhere more permanent... any ideas?
----- Cheers, Sean -- View this message in context: http://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- www.tudorgirba.com "Every thing has its own flow"
participants (4)
-
Sabine Knöfel -
Sean P. DeNigris -
Sven Van Caekenberghe -
Tudor Girba