Re: Strange WebServerResources folder name issue inside .woa problem
Re: Strange WebServerResources folder name issue inside .woa problem
- Subject: Re: Strange WebServerResources folder name issue inside .woa problem
- From: Jean-François Veillette <email@hidden>
- Date: Thu, 23 Dec 2004 14:40:52 -0500
are the images part of the ' webserver' target ? are they 'application
server' target ?
I would guess that they are not part of the 'webserver' target, or if
they are, maybe that they are both and wo return the first path, i.e.
the appserver path.
- jfv
Le 04-12-23, à 14:17, Kieran Kelleher a écrit :
the WebServer buildstyle of xcodebuild creates the folder structure
appname.woa/Contents/WebServerResources
and inside are all my resource image files. However the Deployment
buildstyle names this folder Resources and not Resources.
The problem is that the HTML being generated by the application is
generating the incorrect pathname. It generates this:
<img src="/WebObjects/cheetah.woa/Contents/Resources/hevequip.gif"
width="413" height="100">
when what it should be is
<img
src="/WebObjects/cheetah.woa/Contents/WebServerResources/hevequip.gif"
width="413" height="100">
As you can see the html path should have WebServerResources instead of
Resources?
Why is this happening here and what is the fix?
Regards, Kieran
PS. Up to now, I had only used apache directly and not relied on Wo
project Resources, but I did use it for this current app.
PPS. Short-term workaround, I have put a symbolic link in
app.woa/Contents/Resources -> WebServerResources
I also tried changing the JAVA_FRAMEWORK_RESOURCES_DIR from
WebServerResources to Resources, but that did not build the WebServer
woa correctly.
________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 /
MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.5 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL
4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden