Strange WebServerResources folder name issue inside .woa problem
Strange WebServerResources folder name issue inside .woa problem
- Subject: Strange WebServerResources folder name issue inside .woa problem
- From: Kieran Kelleher <email@hidden>
- Date: Thu, 23 Dec 2004 14:17:53 -0500
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:
This email sent to email@hidden