Hi.

We have the following problem: the application we need to build needs to sit on 
several machines on which qooxdoo is placed in different places. Which means 
generate.py and config.json have to look different on each station.

Therefore I wrote a file locals.json, which has only a "let" section inside, 
defining QOOXDOO_PATH, rather than having it in config.json - we want 
config.json to sit in SVN, whereas locals.json shouldn't.

I managed to get generate.py to load the path on which qooxdoo is located by 
changing the implementation of getQxPath so that it reads locals.json instead 
of config.json.

However, even if I include locals.json, somehow the variable I define there 
isn't recognized inside config.json, and as such paths don't expand correcty. 
Therefore generate.py source breaks with a message like: 

>>> Resolving config includes...
[Errno 2] No such file or directory: 
u'/home/florin/stsws/QooxdooServletTestBed/jsapp/${QOOXDOO_PATH}/tool/data/config/application.json'

I know the file locals.json is included and read, because I initially had a 
syntax error in it, and was prompty prompted by generate.py to fix it.

What do I do wrong? How can I solve this problem? I looked at the 
documentation, but didn't find anything helpful.

br,

flj

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to