There is a bug in XCode where when you add a .js to a target, it will put it in the [Source] list of builds files. That mean that it will try to compile this .js file and put the result in the bundle. This is wrong, the file should be in the [Bundle Resources] list of files. To fix it, open XCode, open the WebServer Target (the red circle target), click on [Build Phases]. Move the file from one list to the other.

- jfv

Le 06-03-17, à 05:49, Amedeo Mantica a écrit :

yes, I have tried, now checking logs...
thanks
Amedeo

On 17/mar/06, at 11:32, Aurelien Minet wrote:

Amedeo Mantica wrote:
sorry if i write to the developement group too.

I hhave a file called "menu.js" (target Web Server) inside the group
"Web Server Resources", in developement mode works reat, but  when I
do WebServer and Deplyyment Build, this file is not included inside
any .woa.

Also if I put manually the file on the WebServer
root/WebObjects/Contents/WebServerResources/menu.js, stills I got
error "menu.js" not found.

Can you help Me?

Best Regards
Amedeo

Hi Amedeo,
Can you try to put  menu.js on the WebServer in
root/WebObjects/YOUR_APPLICATION_NAME.woa/Contents/ WebServerResources/ ? Looking in your webserveur error log could help to find where it should
be placed.
(DocumentRoot in WebServerConfig.plist  may help too)

Aurélien

--
------------------
Direction des systèmes d'information
Université Réne Descartes Paris 5
01.40.46.17.09


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ jean_francois_veillette%40yahoo.ca

This email sent to [EMAIL PROTECTED]


http://www.freeiPods.com/?r=21419063

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
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