Thank you for your reply. Unfortunately there was not possible to make it work. The urls always started with "script/" and "source/". I tried other "compile-options" and still no joy.
Finally I solved it by redirecting the home page to static/vendors/qssite/source/index.html. The HTML is loaded from there so everything else is relative to that and it works. This is not what I want but at least it will allow me to continue for now. On 07/06/2015 01:00 μμ, Andréas Kühne wrote: > 2015-06-07 11:37 GMT+02:00 voger <vogernewslett...@yahoo.gr > <mailto:vogernewslett...@yahoo.gr>>: > > I want to run the source version from a Django server. The main file is > loaded from the url > > "http://127.0.0.1:8000/static/vendors/qssite/source/script/qssite.js" > > static/ is an actial folder in the app.The file loads fine. However when > it requests the subsequent files (libraries, resources etc) it requests > them from the urls like > > http://127.0.0.1:8000/script/qssite.1465c2832300.js > http://127.0.0.1:8000/source/class/qssite/theme/Decoration.js > > How can I tell qooxdoo to insert /static/vendors/qssite in these urls? > > > > ------------------------------------------------------------------------------ > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > <mailto:qooxdoo-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > > Hi, > > I had the same problem. Ended up using the following option in my > config.json in the jobs section: > > "compile-options": { > "code": { > "decode-uris-plug":"decode-source-uris.js" > }, > "paths": { > "file":"./source/script/${APPLICATION}.js" > }, > "uris": { > // "add-nocache-param": true > } > }, > > Then in decode-source-uris.js: > > euri =euri.replace(/^script/,"/static/js/basis/source/script"); > > That way the uri's for the script part will be correct. > > I think thats the only changes I made. > > Regards, > > Andréas > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel