[Pharo-dev] configurationOfZincHTTPComponents does not load Neo JSON

2013-09-19 Thread Sabine Knöfel
Hi Sven, all,

I just found out, that one class I use, NeoJSONReader suddenly is missing
after loading new.

Then I recognized, that in configurationOfZincHTTPComponents>>baseline24:

there is a project 'XMLSupport' and 'Neo Json' (with NeoJSONReader)

but if I load the configurationOfZincHTTPComponents, 
==>> both are not loaded.

baseline24: spec

spec project: 'XML Support' with: [
spec
className: 'ConfigurationOfXMLSupport';
versionString: #'stable';
repository: 'http://www.squeaksource.com/MetacelloRepository' ].
spec project: 'Neo JSON' with: [
spec
className: 'ConfigurationOfNeoJSON';
versionString: #'stable';
repository: 'http://mc.stfx.eu/Neo' ].

For test, I used load with:
Gofer it
  smalltalkhubUser: 'SvenVanCaekenberghe' project: 'ZincHTTPComponents';
  configurationOf: 'ZincHTTPComponents';
  loadStable.

I am just reading the great new deep into pharo book and the chapter about
metacello.
It is very helpful to make my own configurationOf in the right way.

But in this case, I dont see the reason, why this does not work :-)
Can you have a look at it, please?

Sabine







--
View this message in context: 
http://forum.world.st/configurationOfZincHTTPComponents-does-not-load-Neo-JSON-tp4709133.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] configurationOfZincHTTPComponents does not load Neo JSON

2013-09-19 Thread Sabine Knöfel
Hi Sven,

thanks for the lesson. I see, this was a silly question :-). 
I have to define, which groups to load.

Regards
Sabine



--
View this message in context: 
http://forum.world.st/configurationOfZincHTTPComponents-does-not-load-Neo-JSON-tp4709133p4709192.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] configurationOfZincHTTPComponents does not load Neo JSON

2013-09-19 Thread Sven Van Caekenberghe
Sabine,

On 19 Sep 2013, at 12:42, Sabine Knöfel  wrote:

> Hi Sven, all,
> 
> I just found out, that one class I use, NeoJSONReader suddenly is missing
> after loading new.
> 
> Then I recognised, that in configurationOfZincHTTPComponents>>baseline24:
> 
> there is a project 'XMLSupport' and 'Neo Json' (with NeoJSONReader)

Indeed, 'Neo JSON' is declared as a sub project there.

But it is only used as a dependency for a number of groups (look further down), 
namely 'Zinc-REST', 'Zinc-SSO-OAuth1-Core' and 'Zinc-SSO-OAuth2-Core'. But 
these groups are not loaded by default.

So unless you load any of those groups, NeoJSON will not be loaded. Since you 
indicate that you did #loadStable only the default group was loaded.

Sven

> but if I load the configurationOfZincHTTPComponents, 
> ==>> both are not loaded.
> 
> baseline24: spec
> 
> spec project: 'XML Support' with: [
>   spec
>   className: 'ConfigurationOfXMLSupport';
>   versionString: #'stable';
>   repository: 'http://www.squeaksource.com/MetacelloRepository' ].
> spec project: 'Neo JSON' with: [
>   spec
>   className: 'ConfigurationOfNeoJSON';
>   versionString: #'stable';
>   repository: 'http://mc.stfx.eu/Neo' ].
> 
> For test, I used load with:
> Gofer it
>  smalltalkhubUser: 'SvenVanCaekenberghe' project: 'ZincHTTPComponents';
>  configurationOf: 'ZincHTTPComponents';
>  loadStable.
> 
> I am just reading the great new deep into pharo book and the chapter about
> metacello.
> It is very helpful to make my own configurationOf in the right way.
> 
> But in this case, I dont see the reason, why this does not work :-)
> Can you have a look at it, please?
> 
> Sabine
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://forum.world.st/configurationOfZincHTTPComponents-does-not-load-Neo-JSON-tp4709133.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>