[Seaside] WADispatcher trimForDeployment method
Paul DeBruicker
pdebruic at gmail.com
Thu Jul 22 16:33:09 UTC 2010
Hi Dario:
You could make your own on the class side of your root component like so:
MyRootComponent class>>trimForDeployment
WAAdmin applicationDefaults
removeParent: WADevelopmentConfiguration instance.
WADispatcher default handlers do: [:each | WADispatcher default
unregister: each ].
self initialize.
and then run it in a workspace with:
MyRootCompontent trimForDeployment
when you want to put up your image. One problem with doing this is that
the image is larger than it needs to be because it can have the
development tools and config application still loaded in it. But since
you may not have to worry about running as many images on a server as
possible that may be an OK trade-off.
Paul
On 07/22/2010 12:14 PM, seaside-request at lists.squeakfoundation.org wrote:
> Message: 3
> Date: Thu, 22 Jul 2010 17:52:49 +0200
> From:"dtrussardi at tiscali.it" <dtrussardi at tiscali.it>
> Subject: Re: [Seaside] WADispatcher trimForDeployment method
> To: Seaside - general discussion<seaside at lists.squeakfoundation.org>
> Message-ID:<AEDB320C-B2AF-4ECA-84B6-6B6FC9455DDE at tiscali.it>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> today i update my Pharo with the last version of ConfigurationOfSeaside30-DaleHenrichs.199 .
>
> And load it with : (Smalltalk at: #ConfigurationOfSeaside30) load.
>
> Monticello report the package :
>
> Seaside-Development-jf.134
>
> Seaside-Tools-Core-lr.17
>
> are load.
>
>
> But after i don't found the method trimForDeployment .
>
>
> The same situation are in Glass.
>
>
> Are wrong or omit anything ?
>
> Thanks,
>
> Dario
>
> ------------------------------
More information about the seaside
mailing list