|
|
Subject: Re: Re: Re: latest SqueakSource image? - msg#00099
List: lang.smalltalk.squeak.beginners
Franz, thanks for this useful HOW-TO (definitely not complicated).
thanks, pf
p.s. Can you copy&paste your work to
http://minnow.cc.gatech.edu/squeak/5766
or directly to:
http://minnow.cc.gatech.edu/squeak/3857 ?
Franz Josef pÃÅe v PÃ 22. 12. 2006 v 13:16 +0100:
> I've built my own Squeak Source server some weeks ago and of course I
> could make this image available... BUT it's easy to build your own and a
> good exercise to improve your skills. I hope my small Howto will work
> and help...
>
> 1. download the squeak-dev-62 image from damien cassou's web site:
> http://damien.cassou.free.fr/squeak-dev/squeak-dev-62.zip
>
> 2) run this image and install DynamicBindings via SqueakMap
>
> 3) install FFI (needed for graphViz later). I've used the Script Manager
> at "Prepared Packages" to load it
>
> 4) Open a Monticello browser and add http://www.squeaksource.com/ss as a
> repository (Squeak Source Repository)
>
> 5) Open that repository and install the following packages in exact the
> shown order step by step. At some packages you will be asked for
> user/password data
>
> KomServices-gk.2.mcz
> KomHttpServer-pmm.7.mcz
> XML-Parser-mir.9.mcz
> VB-Regex-avi.2.mcz
> Seaside2-lr.94.mcz
> Mewa-pmm.16.mcz
> GraphViz-pmm.43.mcz
> GraphBuilder-pmm.4.mcz
> TinyWiki-lr.10.mcz (*take care, it's not the newest package*)
> SqueakSource-pmm.1012.mcz
>
> 6) configure your own Squeak Source Server with changing the class
> methods in SSRepository
>
> a) change SSRepository>>defaultRepository when you don't want Lukas as
> your super user ;-). The following code only creates one super user. You
> can create everything else later TTW.
>
> SSRepository>>defaultRepository
> "member"
> | yourInitials |
> yourInitials := (SSMember initials: 'yourInitials') fullname: 'Your
> full name';
> superuser: true;
> password: 'yourPassword';
> yourself.
> ^ SSRepository new title: 'SqueakSource for your Name';
> addMember: yourInitials
>
>
> b) change the method name of the class method initialize to a name you
> like for doing your own initialization. You need the following
> statements enabled:
>
> initializeTMP
> "-- initialize default repository --"
> Current := self defaultRepository.
> RootUrl := self defaultRootUrl.
> Storage := self defaultStorage.
> "-- save the current repository --"
> self storage saveRepository: self current.
> "-- load the last repository --"
> "Current := self storage loadRepository."
> "-- clear seaside caches --"
> WARegistry clearAllHandlers.
> Smalltalk garbageCollect
>
> 7) Open a workspace and "doit"
>
> SSRepository initializeTMP.
> SSKom startOn: 8888.
>
> 8) save the image
>
> That's it! You should be able to browse http://localhost:8888 (or
> http://your-ip:8888). Login with the user/pw you created in your method.
>
> 9) Individual configurations (can all be done when you are logged in as
> super user)
>
> a) change your e-maill address when you are logged in in "Edit Account"
> b) change smtp server and admin mail in "Edit Settings"
> c) if you haven't a well configured DNS environment running change the
> entry for "Root URL" (also in "Edit Settings) to
> http://your-ip-or-valid-dns-enabled-name:8888 (otherwise you will not
> download your source).
>
> 10) I'm sure I've forgot something but perhaps you will find it out :-).
> E.g. how to run the whole stuff on a different port...
>
> If this is too complicated for you (hm, at least you've asked in the
> beginners group. But running your own Squeak Source server isn't a
> beginners topic IMHO), I can sent you an image.
>
> Hope this helps,
> Franz Josef Konrad
>
>
>
>
> Klaus D. Witzel schrieb:
> > Then you may perhaps find what you want in these discussions
> >
> > -
> > http://www.google.com/search?hl=en&q=SqueakSource+server+image+site%3Alists.squeakfoundation.org
> >
> >
> >
> > /Klaus
> >
> > On Fri, 22 Dec 2006 12:18:07 +0100, Petr Fischer wrote:
> >> I mean this:
> >> http://astares.blogspot.com/2005/12/squeaksource-server-image.html
> >>
> >> pf
> >>
> >> p.s. ...and yes, ftp://ftp.squeak.org/various_images/ is a good
> >> "central" place for this type of images...
> >>
> >> Klaus D. Witzel pÃÅe v PÃ 22. 12. 2006 v 11:41 +0100:
> >>> Hi Petr,
> >>>
> >>> do you mean these
> >>>
> >>> - ftp://ftp.squeak.org/
> >>>
> >>> If not, please specify more precisely what file name for what release #
> >>> you need.
> >>>
> >>> HTH.
> >>>
> >>> /Klaus
> >>>
> >>> On Fri, 22 Dec 2006 11:11:54 +0100, Petr Fischer wrote:
> >>>
> >>> > Hi, is possible to download prepared SqueakSource image newer than
> >>> 1.1
> >>> > from web?
> >>> >
> >>> > I can't find even my old 1.1 (originally from
> >>> > http://de-1.tric.nl/~cg/images - broken) .
> >>> >
> >>> > Thanks! pf
> >>>
> >>>
> >>> _______________________________________________
> >>> Beginners mailing list
> >>> Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
> >>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> >>>
> >
> >
> > _______________________________________________
> > Beginners mailing list
> > Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
> _______________________________________________
> Beginners mailing list
> Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Re: Re: latest SqueakSource image?
I've built my own Squeak Source server some weeks ago and of course I
could make this image available... BUT it's easy to build your own and a
good exercise to improve your skills. I hope my small Howto will work
and help...
1. download the squeak-dev-62 image from damien cassou's web site:
http://damien.cassou.free.fr/squeak-dev/squeak-dev-62.zip
2) run this image and install DynamicBindings via SqueakMap
3) install FFI (needed for graphViz later). I've used the Script Manager
at "Prepared Packages" to load it
4) Open a Monticello browser and add http://www.squeaksource.com/ss as a
repository (Squeak Source Repository)
5) Open that repository and install the following packages in exact the
shown order step by step. At some packages you will be asked for
user/password data
KomServices-gk.2.mcz
KomHttpServer-pmm.7.mcz
XML-Parser-mir.9.mcz
VB-Regex-avi.2.mcz
Seaside2-lr.94.mcz
Mewa-pmm.16.mcz
GraphViz-pmm.43.mcz
GraphBuilder-pmm.4.mcz
TinyWiki-lr.10.mcz (*take care, it's not the newest package*)
SqueakSource-pmm.1012.mcz
6) configure your own Squeak Source Server with changing the class
methods in SSRepository
a) change SSRepository>>defaultRepository when you don't want Lukas as
your super user ;-). The following code only creates one super user. You
can create everything else later TTW.
SSRepository>>defaultRepository
"member"
| yourInitials |
yourInitials := (SSMember initials: 'yourInitials') fullname: 'Your
full name';
superuser: true;
password: 'yourPassword';
yourself.
^ SSRepository new title: 'SqueakSource for your Name';
addMember: yourInitials
b) change the method name of the class method initialize to a name you
like for doing your own initialization. You need the following
statements enabled:
initializeTMP
"-- initialize default repository --"
Current := self defaultRepository.
RootUrl := self defaultRootUrl.
Storage := self defaultStorage.
"-- save the current repository --"
self storage saveRepository: self current.
"-- load the last repository --"
"Current := self storage loadRepository."
"-- clear seaside caches --"
WARegistry clearAllHandlers.
Smalltalk garbageCollect
7) Open a workspace and "doit"
SSRepository initializeTMP.
SSKom startOn: 8888.
8) save the image
That's it! You should be able to browse http://localhost:8888 (or
http://your-ip:8888). Login with the user/pw you created in your method.
9) Individual configurations (can all be done when you are logged in as
super user)
a) change your e-maill address when you are logged in in "Edit Account"
b) change smtp server and admin mail in "Edit Settings"
c) if you haven't a well configured DNS environment running change the
entry for "Root URL" (also in "Edit Settings) to
http://your-ip-or-valid-dns-enabled-name:8888 (otherwise you will not
download your source).
10) I'm sure I've forgot something but perhaps you will find it out :-).
E.g. how to run the whole stuff on a different port...
If this is too complicated for you (hm, at least you've asked in the
beginners group. But running your own Squeak Source server isn't a
beginners topic IMHO), I can sent you an image.
Hope this helps,
Franz Josef Konrad
Klaus D. Witzel schrieb:
Then you may perhaps find what you want in these discussions
-
http://www.google.com/search?hl=en&q=SqueakSource+server+image+site%3Alists.squeakfoundation.org
/Klaus
On Fri, 22 Dec 2006 12:18:07 +0100, Petr Fischer wrote:
I mean this:
http://astares.blogspot.com/2005/12/squeaksource-server-image.html
pf
p.s. ...and yes, ftp://ftp.squeak.org/various_images/ is a good
"central" place for this type of images...
Klaus D. Witzel pÃÅe v PÃ 22. 12. 2006 v 11:41 +0100:
Hi Petr,
do you mean these
- ftp://ftp.squeak.org/
If not, please specify more precisely what file name for what release #
you need.
HTH.
/Klaus
On Fri, 22 Dec 2006 11:11:54 +0100, Petr Fischer wrote:
> Hi, is possible to download prepared SqueakSource image newer than
1.1
> from web?
>
> I can't find even my old 1.1 (originally from
> http://de-1.tric.nl/~cg/images - broken) .
>
> Thanks! pf
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Next Message by Date:
click to view message preview
Re: Win32 OS functions
On Fri, Dec 22, 2006 at 08:38:01AM -0000, david.briant@xxxxxxx wrote:
> Hi
>
> I want to play around with some cross-thread and cross-process stuff in
> Windows XP. E.g. memory mapped files, windows message sends, named pipes
> and so on and was wondering how to access these methods in Squeak. Any
> pointers would be welcome.
The easiest way to do things like this is with the Foreign Function
Interface (FFI). Usually you can find this in the Squeak image in
the "FFI-*" categories (but for some versions you may need to load it
from SqueakMap). Look at category 'FFI-Examples-Win32' for examples of
what can be done.
This is definitely getting out of "newbie" territory, but if you are
comfortable building your own VM and plugins, you can also load the
OSProcessPlugin from SqueakMap. This provides some Win32 thread and
handle primitives that might be useful to you, or that you can modify
to meet your needs.
Have fun,
Dave
Previous Message by Thread:
click to view message preview
Re: Re: Re: latest SqueakSource image?
I've built my own Squeak Source server some weeks ago and of course I
could make this image available... BUT it's easy to build your own and a
good exercise to improve your skills. I hope my small Howto will work
and help...
1. download the squeak-dev-62 image from damien cassou's web site:
http://damien.cassou.free.fr/squeak-dev/squeak-dev-62.zip
2) run this image and install DynamicBindings via SqueakMap
3) install FFI (needed for graphViz later). I've used the Script Manager
at "Prepared Packages" to load it
4) Open a Monticello browser and add http://www.squeaksource.com/ss as a
repository (Squeak Source Repository)
5) Open that repository and install the following packages in exact the
shown order step by step. At some packages you will be asked for
user/password data
KomServices-gk.2.mcz
KomHttpServer-pmm.7.mcz
XML-Parser-mir.9.mcz
VB-Regex-avi.2.mcz
Seaside2-lr.94.mcz
Mewa-pmm.16.mcz
GraphViz-pmm.43.mcz
GraphBuilder-pmm.4.mcz
TinyWiki-lr.10.mcz (*take care, it's not the newest package*)
SqueakSource-pmm.1012.mcz
6) configure your own Squeak Source Server with changing the class
methods in SSRepository
a) change SSRepository>>defaultRepository when you don't want Lukas as
your super user ;-). The following code only creates one super user. You
can create everything else later TTW.
SSRepository>>defaultRepository
"member"
| yourInitials |
yourInitials := (SSMember initials: 'yourInitials') fullname: 'Your
full name';
superuser: true;
password: 'yourPassword';
yourself.
^ SSRepository new title: 'SqueakSource for your Name';
addMember: yourInitials
b) change the method name of the class method initialize to a name you
like for doing your own initialization. You need the following
statements enabled:
initializeTMP
"-- initialize default repository --"
Current := self defaultRepository.
RootUrl := self defaultRootUrl.
Storage := self defaultStorage.
"-- save the current repository --"
self storage saveRepository: self current.
"-- load the last repository --"
"Current := self storage loadRepository."
"-- clear seaside caches --"
WARegistry clearAllHandlers.
Smalltalk garbageCollect
7) Open a workspace and "doit"
SSRepository initializeTMP.
SSKom startOn: 8888.
8) save the image
That's it! You should be able to browse http://localhost:8888 (or
http://your-ip:8888). Login with the user/pw you created in your method.
9) Individual configurations (can all be done when you are logged in as
super user)
a) change your e-maill address when you are logged in in "Edit Account"
b) change smtp server and admin mail in "Edit Settings"
c) if you haven't a well configured DNS environment running change the
entry for "Root URL" (also in "Edit Settings) to
http://your-ip-or-valid-dns-enabled-name:8888 (otherwise you will not
download your source).
10) I'm sure I've forgot something but perhaps you will find it out :-).
E.g. how to run the whole stuff on a different port...
If this is too complicated for you (hm, at least you've asked in the
beginners group. But running your own Squeak Source server isn't a
beginners topic IMHO), I can sent you an image.
Hope this helps,
Franz Josef Konrad
Klaus D. Witzel schrieb:
Then you may perhaps find what you want in these discussions
-
http://www.google.com/search?hl=en&q=SqueakSource+server+image+site%3Alists.squeakfoundation.org
/Klaus
On Fri, 22 Dec 2006 12:18:07 +0100, Petr Fischer wrote:
I mean this:
http://astares.blogspot.com/2005/12/squeaksource-server-image.html
pf
p.s. ...and yes, ftp://ftp.squeak.org/various_images/ is a good
"central" place for this type of images...
Klaus D. Witzel pÃÅe v PÃ 22. 12. 2006 v 11:41 +0100:
Hi Petr,
do you mean these
- ftp://ftp.squeak.org/
If not, please specify more precisely what file name for what release #
you need.
HTH.
/Klaus
On Fri, 22 Dec 2006 11:11:54 +0100, Petr Fischer wrote:
> Hi, is possible to download prepared SqueakSource image newer than
1.1
> from web?
>
> I can't find even my old 1.1 (originally from
> http://de-1.tric.nl/~cg/images - broken) .
>
> Thanks! pf
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Next Message by Thread:
click to view message preview
Re: Re: Re: latest SqueakSource image?
I will copy paste this How-to on the Wiki when somebody tells me how to
get an account to edit it.
I also want to thank Damien Cassou at this place for doing his great
work with the developer images. It spent me as a newbie (newbie to
Squeak but I did Smalltalk 10 years ago) a lot of time.
Franz Josef
Petr Fischer schrieb:
Franz, thanks for this useful HOW-TO (definitely not complicated).
thanks, pf
p.s. Can you copy&paste your work to
http://minnow.cc.gatech.edu/squeak/5766
or directly to:
http://minnow.cc.gatech.edu/squeak/3857 ?
|
|