Fw: [Seaside] Seaside Port on Image Startup?

Boris Popov boris at deepcovelabs.com
Mon Jan 29 16:36:24 UTC 2007


See below,

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: seaside-bounces at lists.squeakfoundation.org <seaside-bounces at lists.squeakfoundation.org>
To: The Squeak Enterprise Aubergines Server - general discussion. <seaside at lists.squeakfoundation.org>
Sent: Fri Jan 26 12:52:37 2007
Subject: Re: [Seaside] Seaside Port on Image Startup?

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
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070129/51215fe2/attachment-0001.htm


More information about the Seaside mailing list