Hi Yanni,

On 16 Jan 2013, at 07:25, Yanni Chiu <[email protected]> wrote:

> On 09/01/13 3:46 AM, Sven Van Caekenberghe wrote:
>> 
>> Basically you should be able to get all the bits (preferably in Pharo 2.0) 
>> by doing
>> 
>>      (ConfigurationOfZincHTTPComponents project version: '2.2') load: 'SSO'
> 
> It works fine for me in Pharo-1.4, but I cannot build it using Jenkins 
> because Metacello throws up a UI dialog asking whether to Load/Merge/Cancel 
> the Zinc-HTTP package.
> 
> The Zinc-HTTP package ends up dirty, after loading the
> 
>  Zinc-Character-Encoding-Core
>  Zinc-Resource-Meta-Core
> 
> pre-req packages. These packages seem to be a re-packaging of the previous 
> Zinc-HTTP package.
> 
> Is this a limitation of Metacello not having atomic load?
> Can the Metacello dialog be disabled?
> Should the non-interactive UI manager be enhanced to somehow proceed?

The easiest solution is to switch to 2.0 where this repackaging conflict is 
already resolved.

For a non-interactive CI build based on Metacello loading, this should work:

[ ConfigurationOfZincHTTPComponents load ]
        on: MCMergeOrLoadWarning do: [ :warning |
                Transcript crShow: 'Ignoring with Load anyway ', warning 
printString.
                warning resume: true ].

HTH,

Sven


--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill


Reply via email to