Hi Petr,

I also have

  project: 'ZincHTTPComponents' with: [
    spec 
      className: 'ConfigurationOfZincHTTPComponents';
      repository: 'http://mc.stfx.eu/ZincHTTPComponents';
      loads: #('Core' 'Tests' 'REST' 'AWS');
      versionString: #stable ];

in my main project, which has not changed in years and always works, AFAIK.

I also use(d) the load expression

  ConfigurationOfZincHTTPComponents project load: #stable

a lot and it normally works.

Metacello sometimes acts weird when you already have code/projects loaded.

I am afraid I don't know what could be wrong.

Sven

> On 16 Aug 2018, at 17:09, Petr Fischer via Pharo-users 
> <pharo-users@lists.pharo.org> wrote:
> 
> 
> From: Petr Fischer <petr.fisc...@me.com>
> Subject: Zinc loading problems (as project dep)
> Date: 16 August 2018 at 17:09:41 GMT+2
> To: pharo-users@lists.pharo.org
> 
> 
> Hello, 
> 
> I am trying to load stable Zinc as dependency in my project, like this:
> 
> ...
>                       project: 'ZincHTTPComponents' with: [
>                               spec
>                                       className: 
> #ConfigurationOfZincHTTPComponents;
>                                       versionString: #'stable';
>                                       loads: #('Core' 'WebSocket' );
>                                       repository: 
> 'http://mc.stfx.eu/ZincHTTPComponents/' ].
> ...
> 
> I need WebSocket package, whiuch is not loaded by default and updated Core 
> package (there is new method ZnClient defaultEncoder: - I need this).
> 
> Actual stable version of ZincHTTPComponents is 2.9.4 (for Pharo 6.x) and in 
> this 2.9.4 stable version, there is Zinc-HTTP package with version 
> Zinc-HTTP-SvenVanCaekenberghe.475.
> 
> Default version in Pharo 6.1 image is Zinc-HTTP-TheIntegrator.461.
> 
> After my project configuration load, there is no updated Zinc in my image.
> 
> When I try to load manually by:
> 
> ConfigurationOfZincHTTPComponents project load: #stable.
> 
> error dialog occurs complaining about Zinc-HTTP have unsaved changes in the 
> image (load/merge/cancel) - so, maybe, automatic load of Zinc as project 
> depenedency is ignored due to this reason.
> 
> How to solve this situation? Can I force dependency to load (in my project 
> ConfigurationOf)?
> 
> Thanks! Petr Fischer
> 
> 
> 
> 
> 


Reply via email to