[Seaside] Seaside Port on Image Startup?

Avi Bryant avi at dabbledb.com
Fri Jan 26 20:52:37 UTC 2007


On 1/26/07, Ramon Leon <ramon.leon at allresnet.com> wrote:
> >
> > VisualWorks or Squeak?
> >
> > Cheers!
> >
> > -Boris
>
> Sorry, Squeak.

I use this:

WAKom class>>startUp
	| params |
	params _ SmalltalkImage current extractParameters.
	(params includesKey: 'PORT') ifTrue: [port _ params at: 'PORT'].
	port ifNotNil: [self startOn: port asNumber]

Then you just need

squeak foo.image "" port 9090

Note the "" - the first arg has to be blank.

Avi


More information about the Seaside mailing list