I tried adding the last stanza in this otherwise working config.json file,
to turn off all optimization in the "build" version. It has no effect. The
only success I've had at disabling optimization in the build was to replace
the "optimize" line in base.json with "optimize":[]. That's clearly the
wrong way to do it, but I needed to prove that it was possible.
What am I doing wrong in the last stanza? Althougn in this case, I'm using
the "extend" key, I also tried copying the entire "build-script" section
from base.json and pasting it in here, and I tried replacing "build-script"
with "appconf::build-script".
{
"name" : "lifeline",
"include" :
[
{
"path" :
"../../../qooxdoo.git/trunk/qooxdoo/tool/data/config/application.json",
"as" : "appconf"
}
],
"let" :
{
"APPLICATION" : "lifeline",
"QOOXDOO_PATH" : "../../../qooxdoo.git/trunk/qooxdoo/framework",
"QOOXDOO_URI" : "../${QOOXDOO_PATH}",
"QXTHEME" : "lifeline.theme.Modern",
"API_EXCLUDE" : ["qx.legacy.*"],
"LOCALES" : [ "en" ],
"ROOT" : "."
},
"jobs" :
{
"include-contrib" :
{
"library":
[
{
"manifest" :
"../../../qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk/Manifest.json",
"uri" :
"../../../qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk"
}
]
},
"api" :
{
"extend" : ["include-contrib", "appconf::api"]
},
"build" :
{
"extend" : ["include-contrib", "appconf::build"]
},
"clean" :
{
"extend" : ["include-contrib", "appconf::clean"]
},
"distclean" :
{
"extend" : ["include-contrib", "appconf::distclean"]
},
"fix" :
{
"extend" : ["include-contrib", "appconf::fix"]
},
"lint" :
{
"extend" : ["include-contrib", "appconf::lint"]
},
"migration" :
{
"extend" : ["appconf::migration"]
},
"pretty" :
{
"extend" : ["appconf::pretty"]
},
"publish" :
{
"extend" : ["appconf::publish"]
},
"source" :
{
"extend" : ["include-contrib", "appconf::source"]
},
"test" :
{
"extend" : ["appconf::test"]
},
"test-source" :
{
"extend" : ["appconf::test-source"]
},
"translate" :
{
"extend" : ["appconf::translate"]
},
//
// Added this to try to turn off optimizing. What's wrong with this?
//
"build-script" :
{
"extend" : ["appconf::build-script"],
"compile-dist" :
{
"target" : "${BUILD_PATH}",
"file" : "${BUILD_PATH}/script/${APPLICATION}.js",
"uri" : "script/${APPLICATION}.js",
"root" : "${BUILD_PATH}",
"format" : "on",
"locales" : "${LOCALES}",
"optimize" : []
}
}
}
}
Thanks for the help!
Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel