Re: Changing the default resources directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Changing the default resources directory

Carl Gundel
Michel,

Your suggestion below worked for me with Seaside v2.6, but not with v2.7.
Even though I change the path in the prescribed way (manually changing the
configParameters) it still tries to get the file from the old path, and if I
try to change the home directory from the Web Toolkit web interface Seaside
just breaks.  This is what I saw after setting the path to be '.' using the
web interface.  I have to reboot my image to recover.  Any ideas?

Unhandled exception: ERROR_PATH_NOT_FOUND
("c:\vw7.4.1\bin\win\go\runbasicpersonal")
FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn:
FileErrorHolder(OSErrorHolder)>>reportErrorProceeding
optimized [] in OSErrorHolder class>>initializeErrorActions
SystemError>>handleErrorFor:
FATFilename(Filename)>>isDirectory
VisualWave.WebSiteFile>>canServeFile
optimized [] in VisualWave.WebSiteFile>>handleFileRequest
SignalHandler>>handleDo:
SignalHandler>>handleDo:
HandlerList>>handleDo:
VisualWave.WebSiteFile>>handleFileRequest

-Carl

> From: Michel Bany <[hidden email]>
> Carl Gundel a écrit :
>
>>By default when I display PNG images from my Seaside application I find
>>that
>>I must put my files into the VisualWorks web\examples directory.  Is there
>>any way to change this to some other location?
>
> During Seaside install, a "seaside" site is created (unless you declined).
> This sample site is configured to use web\examples as its "home"
> directory.
> You can change this "home" directort using the /configure page.
> You can also change it programatically.
>    (VisualWave.WebSite siteNamed: 'seaside')
>        configParameters at: 'directory' put: 'yourpath'.
> You can also create a completely new site using an *.ini file
> not necessarily named 'seaside' as explained in the documentation.
> You just need to make sure that the urls drive the SeasideServlet servlet.


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside