Re: Including a javascript file as a Web Server Resource [SOLVED]
Re: Including a javascript file as a Web Server Resource [SOLVED]
- Subject: Re: Including a javascript file as a Web Server Resource [SOLVED]
- From: David Holt <email@hidden>
- Date: Tue, 5 Oct 2004 09:49:01 -0700
For the archives: When you add a .js file to an XCode 1.5 project under
Web Server Resources, it also gets put into the Target folder for Web
Server. BUT it is not located under the subgroup "Bundle Resources". It
is in "Sources". Moving it from the "Sources" location under the Web
Server target to the "Bundle Resources" solved the problem. It is now
built into the Web Server Resources and easily accessible from the WO
Application. Hope that helps someone else.
David
On 4 Oct 2004, at 2:02 PM, David Holt wrote:
On a previous project I referenced a .js file located in my Web Server
Resources folder in XCode. When I built the project, it ended up in
the WebServer folder just as expected.
I have tried to add the same .js file to a new project and while it
shows up correctly in XCode, when I build it (using xcodebuild
-buildstyle WebServer) the file does not show up in
Library/WebServer/Documents/WebObjects/my.woa folder. I have deleted
and added it many times to XCode to no avail. When adding the
document, I have selected it to be included in myapp, deployment and
webserver builds. I have tried to add it manually to the Web Server
folder and it is still not found. Has anyone got any ideas of why this
might be happening?
_______________________________________________
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