And here is the direct answer to your question:
I've tested this with a fresh created app and the sequence given in config.json
IS preserved.
First you have to place the files of the additional libraries in right path of your app (here called myapp) in
myapp/source/resource/scripts/jquery.js
myapp/source/resource/scripts/highcharts.js
Then add the folling entry in the job
section of myapp/config.json
"jobs" :
{
"common" : {
"add-script" : [
{ "uri" : "resource/scripts/jquery.js" },
{ "uri" : "resource/scripts/highcharts.js" }
]
},
And finally add the @asset(scripts/*)
compiler hint somewhere in your app code, e.g. in Application.js
like this
/**
* This is the main application class of your custom application "myapp"
*
* @asset(myapp/*)
* @asset(scripts/*)
*/
This way the app loader loads first jquery.js
and then highcharts.js
in both source and build version.
And note that the qooxdoo loader is responsible for loading the additional libraries. You don't have and shouldn't place script tags for the libraries in index.html
!