On Jun 5, 2007, at 10:22 PM, Janine Sisk wrote:

On Jun 5, 2007, at 9:52 PM, Chuck Hill wrote:

  So I created a package for them

A package?  You mean a folder?

No, a package. Same as the one I created for the java files. It was just a guess, but it seemed to work at the time. All the docs I could find talk about Xcode and using a particular target, which doesn't seem to apply in Eclipse.

Well.  That is a new one!  In a package, eh?

Create a WebServerResources folder and move them in there. Not really sure what people usually do if they are not using the Wonder project layout. I usually manage mine externally but you don't want to hear about that...



They are there in the woa, so I assume that my method of referring to them is incorrect. What did I do wrong?

Where are they in the .woa? What do the bindings look like where you use them?

Janine:/Library/WebObjects/Applications/nhlpm.section7.woa root# find . -name '*.jpg'
./Contents/WebServerResources/bin/com/nhlpm/images/logo-large.jpg
./Contents/WebServerResources/bin/com/nhlpm/images/logo-medium.jpg
./Contents/WebServerResources/src/com/nhlpm/images/logo-large.jpg
./Contents/WebServerResources/src/com/nhlpm/images/logo-medium.jpg

A sample binding:

Logo : WOImage {
        filename = "logo-large.jpg";
        alt = "New Hampshire License Plate Museum";
}

The bindings look OK. The paths are not going to make WO happy. I am not really sure how that works at runtime...



The deployment build instructions I used are here:

http://wiki.objectstyle.org/confluence/display/WOL/Deploy+a+WO +Application

If that makes any difference.

You just have them in a, um, funky place.


Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
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