Slime in one click image

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

Slime in one click image

Stan Shepherd
Hi, am I right in thinking Slime is not in the one click image - I can't find it? If so, what is the easiest way to install it and its dependencies please?

Thanks,   ...Stan
Reply | Threaded
Open this post in threaded view
|

Re: Slime in one click image

Julian Fitzell-2
Good question. It appears it isn't there (though it was in the 2.8.3
one-click). At first I thought it was an omission but when I tried to
load it, I ran into some problems. You could use something like this
to load it:

ScriptLoader new installingInstaller.
Installer ss project: 'RefactoringEngine'; package: 'Refactoring-Core'; install.
Installer lukas project: 'slime'; package: 'Slime'; install.

The problem is that the latest Slime in that repository doesn't work
with the newest Refactoring-Core. The newest Pharo doesn't seem to
work with the *older* Refactoring-Core. And the newest Slime (called
Seaside-Slime in the Seaside29 repository) doesn't work with Seaside
2.8.

Lukas may have more to say when he's back from vacation but as far as
I can see, that's the problem and presumably why it wasn't included. I
don't have the time at the moment but if somebody wants to get that
Slime package updated just enough to make it work with the newer
RefactoringEngine I'd be happy to update the one-click image.

Julian

On Thu, Jul 30, 2009 at 4:17 AM, stan
shepherd<[hidden email]> wrote:

>
> Hi, am I right in thinking Slime is not in the one click image - I can't find
> it? If so, what is the easiest way to install it and its dependencies
> please?
>
> Thanks,   ...Stan
> --
> View this message in context: http://www.nabble.com/Slime-in-one-click-image-tp24736487p24736487.html
> Sent from the Squeak - Seaside mailing list archive at Nabble.com.
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Slime in one click image

Stan Shepherd
Thanks for that. Sounds like I should wait for the next repackaging.

...Stan

2009/7/30 Julian Fitzell <[hidden email]>:

> Good question. It appears it isn't there (though it was in the 2.8.3
> one-click). At first I thought it was an omission but when I tried to
> load it, I ran into some problems. You could use something like this
> to load it:
>
> ScriptLoader new installingInstaller.
> Installer ss project: 'RefactoringEngine'; package: 'Refactoring-Core'; install.
> Installer lukas project: 'slime'; package: 'Slime'; install.
>
> The problem is that the latest Slime in that repository doesn't work
> with the newest Refactoring-Core. The newest Pharo doesn't seem to
> work with the *older* Refactoring-Core. And the newest Slime (called
> Seaside-Slime in the Seaside29 repository) doesn't work with Seaside
> 2.8.
>
> Lukas may have more to say when he's back from vacation but as far as
> I can see, that's the problem and presumably why it wasn't included. I
> don't have the time at the moment but if somebody wants to get that
> Slime package updated just enough to make it work with the newer
> RefactoringEngine I'd be happy to update the one-click image.
>
> Julian
>
> On Thu, Jul 30, 2009 at 4:17 AM, stan
> shepherd<[hidden email]> wrote:
>>
>> Hi, am I right in thinking Slime is not in the one click image - I can't find
>> it? If so, what is the easiest way to install it and its dependencies
>> please?
>>
>> Thanks,   ...Stan
>> --
>> View this message in context: http://www.nabble.com/Slime-in-one-click-image-tp24736487p24736487.html
>> Sent from the Squeak - Seaside mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Slime in one click image

Lukas Renggli
Sorry for the omission. I've quickly back-ported Slime to Seaside 2.8
and loaded it into the one-click image. You can either download a new
image from the website, or simply load the latest Slime code from
<http://source.lukas-renggli.ch/slime>.

Cheers,
Lukas

2009/7/31 stan shepherd <[hidden email]>:

> Thanks for that. Sounds like I should wait for the next repackaging.
>
> ...Stan
>
> 2009/7/30 Julian Fitzell <[hidden email]>:
>> Good question. It appears it isn't there (though it was in the 2.8.3
>> one-click). At first I thought it was an omission but when I tried to
>> load it, I ran into some problems. You could use something like this
>> to load it:
>>
>> ScriptLoader new installingInstaller.
>> Installer ss project: 'RefactoringEngine'; package: 'Refactoring-Core'; install.
>> Installer lukas project: 'slime'; package: 'Slime'; install.
>>
>> The problem is that the latest Slime in that repository doesn't work
>> with the newest Refactoring-Core. The newest Pharo doesn't seem to
>> work with the *older* Refactoring-Core. And the newest Slime (called
>> Seaside-Slime in the Seaside29 repository) doesn't work with Seaside
>> 2.8.
>>
>> Lukas may have more to say when he's back from vacation but as far as
>> I can see, that's the problem and presumably why it wasn't included. I
>> don't have the time at the moment but if somebody wants to get that
>> Slime package updated just enough to make it work with the newer
>> RefactoringEngine I'd be happy to update the one-click image.
>>
>> Julian
>>
>> On Thu, Jul 30, 2009 at 4:17 AM, stan
>> shepherd<[hidden email]> wrote:
>>>
>>> Hi, am I right in thinking Slime is not in the one click image - I can't find
>>> it? If so, what is the easiest way to install it and its dependencies
>>> please?
>>>
>>> Thanks,   ...Stan
>>> --
>>> View this message in context: http://www.nabble.com/Slime-in-one-click-image-tp24736487p24736487.html
>>> Sent from the Squeak - Seaside mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Slime in one click image

Stan Shepherd
Thanks, that loads fine now.
Cheers,   ...Stan

Lukas Renggli wrote
Sorry for the omission. I've quickly back-ported Slime to Seaside 2.8
and loaded it into the one-click image. You can either download a new
image from the website, or simply load the latest Slime code from
<http://source.lukas-renggli.ch/slime>.

Cheers,
Lukas

2009/7/31 stan shepherd <stan.shepherd414@gmail.com>:
> Thanks for that. Sounds like I should wait for the next repackaging.
>
> ...Stan
>
> 2009/7/30 Julian Fitzell <jfitzell@gmail.com>:
>> Good question. It appears it isn't there (though it was in the 2.8.3
>> one-click). At first I thought it was an omission but when I tried to
>> load it, I ran into some problems. You could use something like this
>> to load it:
>>
>> ScriptLoader new installingInstaller.
>> Installer ss project: 'RefactoringEngine'; package: 'Refactoring-Core'; install.
>> Installer lukas project: 'slime'; package: 'Slime'; install.
>>
>> The problem is that the latest Slime in that repository doesn't work
>> with the newest Refactoring-Core. The newest Pharo doesn't seem to
>> work with the *older* Refactoring-Core. And the newest Slime (called
>> Seaside-Slime in the Seaside29 repository) doesn't work with Seaside
>> 2.8.
>>
>> Lukas may have more to say when he's back from vacation but as far as
>> I can see, that's the problem and presumably why it wasn't included. I
>> don't have the time at the moment but if somebody wants to get that
>> Slime package updated just enough to make it work with the newer
>> RefactoringEngine I'd be happy to update the one-click image.
>>
>> Julian
>>
>> On Thu, Jul 30, 2009 at 4:17 AM, stan
>> shepherd<stan.shepherd414@gmail.com> wrote:
>>>
>>> Hi, am I right in thinking Slime is not in the one click image - I can't find
>>> it? If so, what is the easiest way to install it and its dependencies
>>> please?
>>>
>>> Thanks,   ...Stan
>>> --
>>> View this message in context: http://www.nabble.com/Slime-in-one-click-image-tp24736487p24736487.html
>>> Sent from the Squeak - Seaside mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> seaside@lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>> _______________________________________________
>> seaside mailing list
>> seaside@lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> seaside mailing list
> seaside@lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

ignore Code Critics rules per class. (Was Re: Slime in one click image)

Stan Shepherd
In reply to this post by Lukas Renggli
Hi, When I subclass WASession, I get 'Class not referenced' from code critics; there's one instance of the problem for each method in the class. I've tried to set a pragma to ignore the rule as per:  http://www.lukas-renggli.ch/blog/ignoring-lint-rules , but can't get it to ignore:

currentNeatSheet
       
        <ignoreLintRule: 'Class not referenced' rationale: 'session class configured by Seaside, accessed by self session' author: 'Stan Shepherd'> 
       
        ^ currentNeatSheet

or

currentNeatSheet
       
        <ignoreLintRule: 'RBClassNotReferencedRule' rationale: 'session class configured by Seaside, accessed by self session' author: 'Stan Shepherd'> 
       
        ^ currentNeatSheet

or

currentNeatSheet
       
        <lint: 'RBClassNotReferencedRule' rationale: 'session class configured by Seaside, accessed by self session' author: 'Stan Shepherd'> 
       
        ^ currentNeatSheet

But none of these succeed in bypassing the rule. Can anyone point me at what I'm doing wrong please?

...Stan

Lukas Renggli wrote
Sorry for the omission. I've quickly back-ported Slime to Seaside 2.8
and loaded it into the one-click image. You can either download a new
image from the website, or simply load the latest Slime code from
<http://source.lukas-renggli.ch/slime>.

Cheers,
Lukas
Reply | Threaded
Open this post in threaded view
|

Re: ignore Code Critics rules per class. (Was Re: Slime in one click image)

Lukas Renggli
> Hi, When I subclass WASession, I get 'Class not referenced' from code
> critics; there's one instance of the problem for each method in the class.
> I've tried to set a pragma to ignore the rule as per:
> http://www.lukas-renggli.ch/blog/ignoring-lint-rules , but can't get it to
> ignore:
>
> currentNeatSheet
>
>        <ignoreLintRule: 'Class not referenced' rationale: 'session class
> configured by Seaside, accessed by self session' author: 'Stan Shepherd'>
>
>        ^ currentNeatSheet
>
> or
>
> currentNeatSheet
>
>        <ignoreLintRule: 'RBClassNotReferencedRule' rationale: 'session class
> configured by Seaside, accessed by self session' author: 'Stan Shepherd'>
>
>        ^ currentNeatSheet
>
> or
>
> currentNeatSheet
>
>        <lint: 'RBClassNotReferencedRule' rationale: 'session class configured by
> Seaside, accessed by self session' author: 'Stan Shepherd'>
>
>        ^ currentNeatSheet

All your examples should actually work. The reasons they don't is
because the filters only work on SelectorEnviornments. The
SelectorEnvironment is the object that is used internally to collect
the matches if the result are individual methods. In the case of the
RBClassNotReferencedRule a class environment is used, as the result
are individual classes.

I tried to fix the problem in Refactoring-Core-lr.53. It might not be
perfect yet, but it should solve your problem.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: ignore Code Critics rules per class.

Stan Shepherd
Thanks, that's got it. So I put the pragma in any one method for a class rule, correct?
Is there a place to attach the pragma to the class itself?

Thanks, ...Stan


Lukas Renggli wrote
> Hi, When I subclass WASession, I get 'Class not referenced' from code
> critics; there's one instance of the problem for each method in the class.
> I've tried to set a pragma to ignore the rule as per:
> http://www.lukas-renggli.ch/blog/ignoring-lint-rules , but can't get it to
> ignore:
>
> currentNeatSheet
>
>        <ignoreLintRule: 'Class not referenced' rationale: 'session class
> configured by Seaside, accessed by self session' author: 'Stan Shepherd'>
>
>        ^ currentNeatSheet
>
> or
>
> currentNeatSheet
>
>        <ignoreLintRule: 'RBClassNotReferencedRule' rationale: 'session class
> configured by Seaside, accessed by self session' author: 'Stan Shepherd'>
>
>        ^ currentNeatSheet
>
> or
>
> currentNeatSheet
>
>        <lint: 'RBClassNotReferencedRule' rationale: 'session class configured by
> Seaside, accessed by self session' author: 'Stan Shepherd'>
>
>        ^ currentNeatSheet

All your examples should actually work. The reasons they don't is
because the filters only work on SelectorEnviornments. The
SelectorEnvironment is the object that is used internally to collect
the matches if the result are individual methods. In the case of the
RBClassNotReferencedRule a class environment is used, as the result
are individual classes.

I tried to fix the problem in Refactoring-Core-lr.53. It might not be
perfect yet, but it should solve your problem.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: ignore Code Critics rules per class.

Lukas Renggli
> Thanks, that's got it. So I put the pragma in any one method for a class
> rule, correct?

Yes, any method will do. Unfortunately Squeak/Pharo has no possibility
to annotate other entities than methods.

Lukas

> Is there a place to attach the pragma to the class itself?
>
> Thanks, ...Stan
>
>
>
> Lukas Renggli wrote:
>>
>>> Hi, When I subclass WASession, I get 'Class not referenced' from code
>>> critics; there's one instance of the problem for each method in the
>>> class.
>>> I've tried to set a pragma to ignore the rule as per:
>>> http://www.lukas-renggli.ch/blog/ignoring-lint-rules , but can't get it
>>> to
>>> ignore:
>>>
>>> currentNeatSheet
>>>
>>>        <ignoreLintRule: 'Class not referenced' rationale: 'session class
>>> configured by Seaside, accessed by self session' author: 'Stan Shepherd'>
>>>
>>>        ^ currentNeatSheet
>>>
>>> or
>>>
>>> currentNeatSheet
>>>
>>>        <ignoreLintRule: 'RBClassNotReferencedRule' rationale: 'session
>>> class
>>> configured by Seaside, accessed by self session' author: 'Stan Shepherd'>
>>>
>>>        ^ currentNeatSheet
>>>
>>> or
>>>
>>> currentNeatSheet
>>>
>>>        <lint: 'RBClassNotReferencedRule' rationale: 'session class
>>> configured by
>>> Seaside, accessed by self session' author: 'Stan Shepherd'>
>>>
>>>        ^ currentNeatSheet
>>
>> All your examples should actually work. The reasons they don't is
>> because the filters only work on SelectorEnviornments. The
>> SelectorEnvironment is the object that is used internally to collect
>> the matches if the result are individual methods. In the case of the
>> RBClassNotReferencedRule a class environment is used, as the result
>> are individual classes.
>>
>> I tried to fix the problem in Refactoring-Core-lr.53. It might not be
>> perfect yet, but it should solve your problem.
>>
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Slime-in-one-click-image-tp24736487p24864271.html
> Sent from the Squeak - Seaside mailing list archive at Nabble.com.
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside