OK, I've got this sorted now :D I think this was my fault. But this is what I did to resolve it (create new project)
I took a copy of the feedreader and went from there. Changing the makefile to point to the correct generator, and overiding the values for QOOXDOO_PATH and ROOT was enough for me. Thanks thron7! Matthew Gregory wrote: > Thanks, > You were right about the paths, I tried to move things around so the sdk > was a sibling to my project rather than a child and updated the paths > but it still didn't work. I've changed a few things so I'm going to > redownload the sdk and start again. I noticed there is no config.json in > the skeleton zip, how come? I think I'll try and take a copy of the > feedreeder and go from there! > > thron7 wrote: >> Hi Matthew, >> >> there are a few issues involved, please see the inline comments... >>> Hi, >>> I was a member of this newsgroup a while ago and have now returned. I've >>> managed to convice our development team to use qooxdoo for our next web >>> project. I've started looking at 0.8 and ran into a few build problems. >>> I've managed to fix these but I can't build the api and documentation >>> for 0.8 is scarce. Can anybody help? I really need this for tomorrow :( >>> >>> Here is my makefile >>> >>> .PHONY: source build api >>> >>> source: >>> @qooxdoo-sdk/tool/generator.py -c config.json -j source >>> >>> build: >>> @qooxdoo-sdk/tool/generator.py -c config.json -j build >>> >>> api: >>> @qooxdoo-sdk/tool/generator.py -c config.json -j api >>> >> These paths look weird. Is your qooxdoo installation actually in a >> subdirectory of your project?! If so, this would be rather unfortunate, >> and I recommend to untangle the SDK and your project folder structure. >> From your project folder, the qooxdoo installation should be accessible >> with a path starting in "../" (i.e. you go some directories upwards and >> then descend again towards the qooxdoo root). >> >>> # use old Makefile for other targets >>> %: force >>> @$(MAKE) -s -f Makefile.gen1 $@ >>> >>> force: ; >>> >>> >>> My config.json (sorry about word wraps) >>> { >>> "include" : >>> { >>> "appconf" : "qooxdoo-sdk/tool/data/config/application.json" >>> >> same issue here >> >>> }, >>> >>> "jobs" : >>> { >>> "common" : >>> { >>> "let" : >>> { >>> "APPLICATION" : "cc", >>> "QOOXDOO_PATH" : "qooxdoo-sdk/framework" >>> >> same issue here >> >>> }, >>> >>> "cache" : >>> { >>> "path" : "qooxdoo-sdk/cache" >>> >> and here >> >>> } >>> }, >>> >>> >>> "common-builds" : // this is for source/build versions >>> { >>> "extend" : ["common"], >>> >>> "include" : ["cc.*", "qx.*", "qx.theme.Classic", "qx.theme.Modern"], >>> >>> "settings" : >>> { >>> "qx.theme" : "qx.theme.Classic", >>> "qx.resourceUri" : "${QOOXDOO_URI}/source/resource" >>> }, >>> >>> "localize" : >>> { >>> "locales" : ["en"] >>> } >>> }, >>> >>> >>> "source" : >>> { >>> "extend" : ["common-builds", "appconf/jobs/source"] >>> }, >>> >>> >>> "build" : >>> { >>> "extend" : ["common-builds", "appconf/jobs/build"] >>> }, >>> >>> >>> "api" : >>> { >>> "extend" : ["appconf/jobs/build"], >>> >>> "let" : >>> { >>> "ROOT" : "/qooxdoo-sdk/application/apiviewer", >>> >> This is most likely not true at all, since here you start with a '/', >> making it an absolute path! >> >>> "BUILD_PATH" : "./api", >>> "API_INCLUDE" : ["qx.*", "cc.*"] >>> }, >>> >>> "library" : >>> [ >>> { >>> "manifest" : "Manifest.json", >>> "uri" : ".." >>> } >>> ] >>> } >>> } >>> } >>> >>> >>> And this is the output I get from make api >>> >>> ============================================================================ >>> INITIALIZATION >>> ============================================================================ >>> >>> Processing... >>> >>> Resolving jobs... >>> >>> Resolving macros... >>> Traceback (most recent call last): >>> File "qooxdoo-sdk/tool/generator.py", line 208, in <module> >>> main() >>> File "qooxdoo-sdk/tool/generator.py", line 97, in main >>> config.resolveMacros(expandedjobs) >>> File >>> "/cygdrive/c/Projects/testProj/qooxdoo-0.8-alpha1-sdk/frontend/tool/generator/Config.py", >>> >>> line 387, in resolveMacros >>> File >>> "/cygdrive/c/Projects/testProj/qooxdoo-0.8-alpha1-sdk/frontend/tool/generator/Config.py", >>> >>> line 320, in _expandMacrosInValues >>> File >>> "/cygdrive/c/Projects/testProj/qooxdoo-0.8-alpha1-sdk/frontend/tool/generator/Config.py", >>> >>> line 318, in _expandMacrosInValues >>> RuntimeError: dictionary changed size during iteration >>> >> This is a rare one. If you fixed the other issues and this one >> re-appears, please report. Which Python version are you using?! For a >> brute fix, go to the 'application.json' and replace all macros >> ("${...}") you find in map key positions with their actual value (should >> only be ${APPLICATION}). >> >>> make: *** [api] Error 1 >>> >>> >>> It might be worth mentioning aswell that >>> c/Projects/testProj/qooxdoo-0.8-alpha1-sdk does *not* exists and I can't >>> find a reference to it either so am not sure why it is in my output. >>> >> This is actually very weird. Which is the exact complete path you have >> installed the qooxdoo SDK under? Are you using any symlinks in your file >> system? This path is reported by the Python runtime, and it actually >> finds modules under this path, so I don't think Python is making this up!? >> >> Thomas >> >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel