• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange WebServerResources folder name issue inside .woa problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Strange WebServerResources folder name issue inside .woa problem (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Strange WebServerResources folder name issue inside .woa problem
  • Next by Date: Getting rid of Carriage returns
  • Previous by thread: Strange WebServerResources folder name issue inside .woa problem
  • Next by thread: Getting rid of Carriage returns
  • Index(es):
    • Date
    • Thread