Login  Register

Re: get the names of the currently loaded mcz files

Posted by Sven Van Caekenberghe-2 on Jul 10, 2014; 1:31pm
URL: https://forum.world.st/get-the-names-of-the-currently-loaded-mcz-files-tp4767402p4767405.html

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]> 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-tp4767402.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>