7 Oct 15:49
Path to Qx lib in 0.8 (config.json & generate.py issue)
From: Gaetan de Menten <gdementen <at> gmail.com>
Subject: Path to Qx lib in 0.8 (config.json & generate.py issue)
Newsgroups: gmane.comp.lang.javascript.qooxdoo.devel
Date: 2008-10-07 13:51:22 GMT
Subject: Path to Qx lib in 0.8 (config.json & generate.py issue)
Newsgroups: gmane.comp.lang.javascript.qooxdoo.devel
Date: 2008-10-07 13:51:22 GMT
Here is one regression in 0.8: moving the qooxdoo lib around is a pain:
In 0.7.x you only had to change the path to where Qooxdoo is installed
in one place. Now you have to change it in 3 places: twice in
config.json and one in generate.py, which is especially ugly IMO.
This is problematic for writing installation instructions of my App (I
can't force people to install qooxdoo in the exact same folder as I
did).
Couldn't the "userland" generate.py get the path to qooxdoo from config.json?
Also I tried to eliminate the extra one in config.json, by having
something like this:
"let" :
{
"QOOXDOO_ROOT" : "../qooxdoo/0.8/",
"QOOXDOO_PATH" : "${QOOXDOO_ROOT}/framework",
},
"include" :
[
{
"path" : "${QOOXDOO_ROOT}/tool/data/config/application.json",
"as" : "appconf"
}
],
But apparently the macro system doesn't work for the "path" key (it's
not expanded)...
(Continue reading)
RSS Feed