Namespaces/Environments

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Namespaces/Environments

Chris Cunnington
If you take an up-to-date Squeak image and execute: 

(Installer wiresong project: 'ob')
   install: 'OmniBrowser';
   install: 'OB-Morphic';
   install: 'OB-Standard';
   install: 'OB-Shout';
   install: 'OB-SUnitIntegration'. 

(Installer ss project: 'rb')
install: 'AST-Core-lr.80.mcz';
install: 'AST-Semantic-lr.11.mcz';
install: 'Refactoring-Core-lr.149.mcz';
install: 'Refactoring-Spelling';
project: 'Regex';
install: 'VB-Regex'.
(Installer wiresong project: 'ob')
install: 'OB-Refactory';
install: 'OB-Regex'.

(Installer ss project: 'shout')
install: 'Shout'; 
install: 'ShoutWorkspace'

Then you can go to Environments at SqS and load with no trouble. There is one kludge here. Stephane added the following to Pharo, which is not in Squeak:

SmalltalkImage>>#hasBindingThatBeginsWith: aString

^ self globals hasBindingThatBeginsWith: aString


The result is a TestRunner that says 19 run; 17 passes; 1 failures; 1 error. 

After doing the above: 

OBEnvironmentSystemBrowser open

Will produce the Environments System Browser. Option+click in the first pane will produce the "new environment" option, and we're off and running.


Chris 



Reply | Threaded
Open this post in threaded view
|

Re: Namespaces/Environments

espin
Fantastic!
I was willing to learn about Environment (aka namespaces).

Thanks a lot for your work.
Bye
Enrico

On Mon, Sep 6, 2010 at 04:25, Chris Cunnington
<[hidden email]> wrote:

> If you take an up-to-date Squeak image and execute:
> (Installer wiresong project: 'ob')
>    install: 'OmniBrowser';
>    install: 'OB-Morphic';
>    install: 'OB-Standard';
>    install: 'OB-Shout';
>    install: 'OB-SUnitIntegration'.
> (Installer ss project: 'rb')
> install: 'AST-Core-lr.80.mcz';
> install: 'AST-Semantic-lr.11.mcz';
> install: 'Refactoring-Core-lr.149.mcz';
> install: 'Refactoring-Spelling';
> project: 'Regex';
> install: 'VB-Regex'.
> (Installer wiresong project: 'ob')
> install: 'OB-Refactory';
> install: 'OB-Regex'.
> (Installer ss project: 'shout')
> install: 'Shout';
> install: 'ShoutWorkspace'
> Then you can go to Environments at SqS and load with no trouble. There is
> one kludge here. Stephane added the following to Pharo, which is not in
> Squeak:
> SmalltalkImage>>#hasBindingThatBeginsWith: aString
> ^ self globals hasBindingThatBeginsWith: aString
>
> The result is a TestRunner that says 19 run; 17 passes; 1 failures; 1
> error.
> After doing the above:
> OBEnvironmentSystemBrowser open
> Will produce the Environments System Browser. Option+click in the first pane
> will produce the "new environment" option, and we're off and running.
>
> Chris
>
>
>
>



--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick

Reply | Threaded
Open this post in threaded view
|

Re: Namespaces/Environments

espin
Chris,
I followed your instructions
0. started from latest Squeak Trunk
1. loaded ob, rb, shout as per your email
2. added SmalltalkImage>>#hasBindingThatBeginsWith: as per your email
3. loaded Environments from SqS but got a dialog with
-------
This package depends on the following classes:
  TBehaviorCategorization
You must resolve these dependencies before you will be able to load
these definitions:
  TBehaviorCategorization>>category
  TBehaviorCategorization>>category:


Select Proceed to continue, or close this window to cancel the operation.
-------
I Proceeded and was able to

4. OBEnvironmentSystemBrowser open. and play a little bit.
    Of course the two methods above are nowhere defined

Didn't you experience the same as in point 3. above?!??

Bye
Enrico

TBehaviourCategorization>>#category/category: implementation is very
similar to what is actually in
Trait>>category/category: with just further indirections

On Mon, Sep 6, 2010 at 14:19, Enrico Spinielli
<[hidden email]> wrote:

> Fantastic!
> I was willing to learn about Environment (aka namespaces).
>
> Thanks a lot for your work.
> Bye
> Enrico
>
> On Mon, Sep 6, 2010 at 04:25, Chris Cunnington
> <[hidden email]> wrote:
>> If you take an up-to-date Squeak image and execute:
>> (Installer wiresong project: 'ob')
>>    install: 'OmniBrowser';
>>    install: 'OB-Morphic';
>>    install: 'OB-Standard';
>>    install: 'OB-Shout';
>>    install: 'OB-SUnitIntegration'.
>> (Installer ss project: 'rb')
>> install: 'AST-Core-lr.80.mcz';
>> install: 'AST-Semantic-lr.11.mcz';
>> install: 'Refactoring-Core-lr.149.mcz';
>> install: 'Refactoring-Spelling';
>> project: 'Regex';
>> install: 'VB-Regex'.
>> (Installer wiresong project: 'ob')
>> install: 'OB-Refactory';
>> install: 'OB-Regex'.
>> (Installer ss project: 'shout')
>> install: 'Shout';
>> install: 'ShoutWorkspace'
>> Then you can go to Environments at SqS and load with no trouble. There is
>> one kludge here. Stephane added the following to Pharo, which is not in
>> Squeak:
>> SmalltalkImage>>#hasBindingThatBeginsWith: aString
>> ^ self globals hasBindingThatBeginsWith: aString
>>
>> The result is a TestRunner that says 19 run; 17 passes; 1 failures; 1
>> error.
>> After doing the above:
>> OBEnvironmentSystemBrowser open
>> Will produce the Environments System Browser. Option+click in the first pane
>> will produce the "new environment" option, and we're off and running.
>>
>> Chris
>>
>>
>>
>>
>
>
>
> --
> Enrico Spinielli
> "Do Androids dream of electric sheep?"— Philip K. Dick
> "Hear and forget; see and remember;do and understand."—Mitchel Resnick
>



--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick

Reply | Threaded
Open this post in threaded view
|

Re: Namespaces/Environments

Levente Uzonyi-2
In reply to this post by Chris Cunnington
On Sun, 5 Sep 2010, Chris Cunnington wrote:

> If you take an up-to-date Squeak image and execute:
>
> (Installer wiresong project: 'ob')
>    install: 'OmniBrowser';
>    install: 'OB-Morphic';
>    install: 'OB-Standard';
>    install: 'OB-Shout';
>    install: 'OB-SUnitIntegration'.
>
> (Installer ss project: 'rb')
> install: 'AST-Core-lr.80.mcz';
> install: 'AST-Semantic-lr.11.mcz';
> install: 'Refactoring-Core-lr.149.mcz';
> install: 'Refactoring-Spelling';
> project: 'Regex';
> install: 'VB-Regex'.
> (Installer wiresong project: 'ob')
> install: 'OB-Refactory';
> install: 'OB-Regex'.
>
> (Installer ss project: 'shout')
> install: 'Shout';
> install: 'ShoutWorkspace'

You shouldn't install Shout, because Squeak has ShoutCore loaded which
gives the same features.

I also think that ConfigurationOfOmniBrowser is better than the
Installer scripts. Dale used to test configurations with Squeak 4.1.


Levente

>
> Then you can go to Environments at SqS and load with no trouble. There is
> one kludge here. Stephane added the following to Pharo, which is not in
> Squeak:
>
> SmalltalkImage>>#hasBindingThatBeginsWith: aString
>
> ^ self globals hasBindingThatBeginsWith: aString
>
>
> The result is a TestRunner that says 19 run; 17 passes; 1 failures; 1
> error.
>
> After doing the above:
>
> OBEnvironmentSystemBrowser open
>
> Will produce the Environments System Browser. Option+click in the first pane
> will produce the "new environment" option, and we're off and running.
>
>
> Chris
>