> 5. This fails because the Lisp server does not find the qooxdoo tree. 
> What has worked in the past is copying that into the source directory. 
> That then lets the server find everything until a bunch of requests like 
> this come along, as echoed by the server:
>
> 127.0.0.1 - - [Wed, 10 Dec 2008 16:09:14 GMT]
>   "GET /source/class/custom/Application.js HTTP/1.1" 404 233
>
> If it was asking for /class/custom/Application.js it would work.
>   

The way URIs a generated in the app by qooxdoo has a few idiosyncrasies 
(some of which I haven't quite figured out myself). One of them is 
generating "../source/class/custom/Application.js" instead of 
"class/custom/Application.js", which would be enough.

Solution: invoke your app with http://localhost/source/index.html, 
rather with http://localhost/index.html

> I have tried giving the server the location of qooxdoo instead of 
> copying the whole thing into source. That works but then fails on the 
> same thing: not finding all the app specific stuff because of the 
> "source" prefix (at least as far as I can understand).
>
> Mysteries:
>
> 1. I do not get the "source" prefix, since later this will be running 
> under "build". but...
>
> 2. browsers have no trouble with the source prefix... do they just try 
> searching upwards?! :)
>   
Yes, if you look into the generated source/script/custom.js, you'll see 
all kinds of URIs starting with "../".

> 3. The same set-up used to work, no idea how I screwed things up.
>   

Probably changed the web server path to the index.html.

Thomas

>   

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to