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


# 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"
   },

   "jobs" :
   {
     "common" :
     {
       "let" :
       {
         "APPLICATION" : "cc",
         "QOOXDOO_PATH" : "qooxdoo-sdk/framework"
       },

       "cache" :
       {
         "path" : "qooxdoo-sdk/cache"
       }
     },


     "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",
         "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
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.


-------------------------------------------------------------------------
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

Reply via email to