[Glass] load filetree package from directory
Dale Henrichs
dale.henrichs at gemtalksystems.com
Fri Apr 18 14:37:55 PDT 2025
This expression is working for me (it's what `mc load` ends up doing):
> | repo |
> repo := MCFileTreeRepository new directory: (ServerFileDirectory on:
> '/home/dhenrich/_homes/rogue/_home/shared/repos/rb/repository').
> Gofer new
> version: 'AST-Core-dkh.105';
> repository: repo;
> load
I think that the default repository is a MCDirectoryRepository and in that
case a directory of .mcz files would be expected ...
Dale
On Fri, Apr 18, 2025 at 12:41 PM Dale Henrichs <
dale.henrichs at gemtalksystems.com> wrote:
> If you've got a tode image the following will work:
>
>> mc load AST-Core-dkh.105
>> filetree:///home/dhenrich/_homes/rogue/_home/shared/repos/rb/repository
>
>
> Gofer is used under the covers, but I need to eat some lunch before I dig
> deeper :)
>
> Dale
>
> On Fri, Apr 18, 2025 at 10:28 AM Paul DeBruicker via Glass <
> glass at lists.gemtalksystems.com> wrote:
>
>> Hi - In GemStone 3.6.8 how do I load a filetree package using a method?
>>
>> If it were a Monticello package I could do a
>>
>> MyClass>>#loadPackage
>>
>> Gofer new
>> directory:'/path/to/mczRepo'
>> package:'MyPackage';
>> load
>>
>>
>>
>> I can't figure out how to do the same with filetree. Gofer doesn't know
>> filetree and also because the Package version string in the filetree repo
>> is always 'cypress.1' it won't load if there is an mcz with a higher
>> version number already in the stone.
>>
>> Thanks
>>
>> Paul
>>
>>
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> https://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20250418/4bfc00bb/attachment.htm>
More information about the Glass
mailing list