<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.14">
<TITLE>Fw: [Seaside] Seaside Port on Image Startup?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>See below,<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: The Squeak Enterprise Aubergines Server - general discussion. &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Fri Jan 26 12:52:37 2007<BR>
Subject: Re: [Seaside] Seaside Port on Image Startup?<BR>
<BR>
On 1/26/07, Ramon Leon &lt;ramon.leon@allresnet.com&gt; wrote:<BR>
&gt; &gt;<BR>
&gt; &gt; VisualWorks or Squeak?<BR>
&gt; &gt;<BR>
&gt; &gt; Cheers!<BR>
&gt; &gt;<BR>
&gt; &gt; -Boris<BR>
&gt;<BR>
&gt; Sorry, Squeak.<BR>
<BR>
I use this:<BR>
<BR>
WAKom class&gt;&gt;startUp<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | params |<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params _ SmalltalkImage current extractParameters.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (params includesKey: 'PORT') ifTrue: [port _ params at: 'PORT'].<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port ifNotNil: [self startOn: port asNumber]<BR>
<BR>
Then you just need<BR>
<BR>
squeak foo.image &quot;&quot; port 9090<BR>
<BR>
Note the &quot;&quot; - the first arg has to be blank.<BR>
<BR>
Avi<BR>
_______________________________________________<BR>
Seaside mailing list<BR>
Seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>

</BODY>
</HTML>