gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebServerResources --> Resources/WebServer ?


From: Nicola Pero
Subject: Re: WebServerResources --> Resources/WebServer ?
Date: Tue, 5 Mar 2002 11:21:17 +0000 (GMT)

> >  >| I'm working on bundling in gnustep-make now ... I need to reuse and
> >  >| generalize a lot the bundling code.
> >  >| 
> >  >| I was wondering about the WEBSERVER_RESOURCES ... how do we fit that 
> > into
> >  >| the more general framework ...
> >  >| 
> >  >| It's installing stuff into WebServerResources rather than Resources ...
> >  >| can we modify that to be Resources/WebServer ?
> >  >| 
> >  >| Any reason why it must be WebServerResources ? <there might be a good
> >  >| reason, I just don't know>
> >  >| 
> >  >| This change would help *a lot* in making GSWeb stuff more similar to 
> > other
> >  >| stuff and integrated with it.
> > 
> > There a reason to keep web server resources in a separate directory: we 
> > often allow web server to access directly
> > these resources out of the control of the GNUstepWeb application for 
> > efficiency reason. If we have these resources in
> > the same directory than other resources (components, strings,...), a 
> > visitor may have access to them.
> > 
> > That said, I don't see any reason against putting web server resources in 
> > Resources/WebServer. This means problably some
> > few changes in the class which make the resources search but it's not a 
> > problem.
> > 
> > So do as you think it's the best.

I've changed it.

The files are copied as in 

xxx/WebServerResources/file

copied into

xxx/MyFramework.framework/Versions/Current/A/Resources/WebSever/file

so you don't actually need to move the files you have inside
WebServerResources for projects using GSWeb, but only change GSWeb to look
for them in Resources/WebServer rather than WebServerResources.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]