I find the easiest approach on Windows is to just put any resources in my projects WebServerResources folder and then use something like:
<wo:ERXStyleSheet filename = "css/main.css" /> when I run my project in direct connect mode all the resources just work. Fortunately we don't have to deploy to Windows, but I imagine doing a split deployment with the appropriate Apache config would work the same as on any UNIX platform. ----- Original Message ----- From: Miguel Angel Torres Avila To: Development WebObjects Sent: Friday, March 27, 2009 10:00 AM Subject: WOLips Windows / WebServerReources Hi List, I am evaluating Eclipse+WOLips on Windows and I have a problem. To access my css and js files I generate tags like this: <link href="/WebObjects/estevezB2B.woa/Contents/WebServerResources/CSS/estilo.css" type="text/css" rel="stylesheet"> On mac, I copy my WebServerResources into /Library/WebServer/Documents/WebObjects/estevezB2B.woa/Contents/ and it works. But on Windows I do not know where to put them. I tried installing apache and copying them into apache-docs-rott/WebObjects/estevezB2B.woa/Contents/ but when I run the APP I get this error [2009-03-26 17:38:19 CST] <WorkerThread0> <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri. file: \Library\WebServer\Documents\WebObjects\estevezB2B.woa/Contents/WebServerResources/CSS/estilo.css; uri: /WebObjects/estevezB2B.woa/Contents/WebServerResources/CSS/estilo.css Is there a way to tell WOLips where to find the webServerDocsRoot on development? Miguel ------------------------------------------------------------------------------ _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mjsotn%40gmail.com This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
