gnustep-dev
[Top][All Lists]
Advanced

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

gsweb WebServerResources


From: Elim Qiu
Subject: gsweb WebServerResources
Date: Fri, 18 Jun 2010 09:30:08 -0600

I'm trying to figure out how img, js, css be compiled into
Resources/WebServer dir.

In GNUmakefile, list images etc like

PROJName_WEBSERVER_RESOURCE_FILES = 1.gif 2.png ...

is not practically maintainable for large proj

So I put all images in WebServerResources/img

and set

PROJName_WEBSERVER_RESOURCE_FILES = img js css

DIRS img, js, css are correctly copied into 
..gswa/Resources/WebServer

But images were not shown although I got
<img width="46"
src="/WebObjects/WOPack.woa/0/wr/?wodata=/home/elim/Projects/gnustep/gw/wopack/WOPack.gswa/Resources/WebServer/img/CreateTables.png"
 width="48" height="48">

with the path 
/home/elim/Projects/gnustep/gw/wopack/WOPack.gswa/Resources/WebServer/img/CreateTables.png

See WOImage ignors my setting width=46 and added width="48" height="48"


Make install gives the same result (images are not shown) and it copies
extra img dir inside of WebServer/img

I'll try javascript and style sheet late.














reply via email to

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