Thanks for the response, unfortunately we have not implemented wonder on our applications, we are planning to do it but for now we need to solve this without it.

I just thought that installing apache and putting there my WebServerResources would do the job but it seems that when I run the application in development the relative web root path "/" applies for the local address plus the application port (http:// localhost:appPort/), thats why the browser can't reach them.

I think there could be a way to tell WOLisp that de WebServer Root Directory is not /Library/WebServer/Documents/ maybe using the wobuild.properties file?

Miguel.

On Mar 26, 2009, at 6:27 PM, Mitchell Smith wrote:

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/miguel% 40toracom.net

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]

Reply via email to