Hi Alexander
Thanks for your answer. As shown in the config.json, a given class file
called TestList.js (and defining the class"org.argeo.slc.web.TestList"),
defined in the "slc-web" library should appear as
"argeo-ria-lib/class/org/argeo/slc/web/TestList.js"
and appear as
"./class/org/argeo/slc/web/TestList.js" in the firebug network tab.
That's why I suspect that my URI is not correctly computed. At the build
time, the library is correctly detected and analysed, so absolute path
is indeed working.
It is the same result if I declare or not the "uri" key in the config.json
Hope this give you any detail. :) Thanks for your help!
Charles
Alexander Back a écrit :
Hi Charlie,
it would be interesting to know what paths are computed and what the
path should look like.
In general: the "manifest" entry is to determine the files on harddrive
and the "uri" entry is to set the URI at the web-server.
So just provide us some more infos (like the paths which are showing up
at the "Network" tab of Firebug) to help you further.
cheers,
Alex
Charlie wrote:
Hi again
First of all, I've finally partly solved my problem with the migration
to 0.8.1. It may be evident, but *i had not cleared the "cache"* between
0.8 and 0.8.1 and that was making python errors in the dependancyloader.
If anyone encounters the problem.. :-)
Now the build version is working good but.... the source is not!! Again,
I've checked and rechecked but it seems to me that in source mode, my
libraries URI are not computed correctly. I've tried skipping the "uri"
key (like it's now authorized in 0.8.1) or putting it back, there's no
way, the generated source does not locate correctly the classes that are
in the library, thus the application won't load. My libraries are
defined by me (not contrib ones) and located in a different folder that
the one containing the source.
Has anyone tested that?
Thanks
Charles
PS : Interesting parts of my config.json below :
"let" :
{
"APPLICATION" : "org.argeo.ria",
"QOOXDOO_PATH" : "src/main/webapp/qooxdoo-0.8.1-sdk",
"QXTHEME" : "qx.theme.Modern",
"QXICONTHEME" : ["Tango"],
"API_EXCLUDE" : ["qx.legacy.*"],
"LOCALES" : [ "en" ],
"ROOT" : "src/main/webapp/argeo-ria-src",
"BUILD_PATH" : "src/main/webapp/argeo-ria",
"RIA_LIB_PATH" : "src/main/webapp/argeo-ria-lib",
"RIA_LIB_URI" : "../argeo-ria-lib",
"CACHE" : "cache-0.8.1" ,
"CUSTOM_PACKAGE" : "org.argeo.slc.web"
},
"jobs" :
{
"common" :
{
"library" :
[
{
"manifest" : "${QOOXDOO_PATH}/framework/Manifest.json"
},
{
"manifest" : "${RIA_LIB_PATH}/slc-web/Manifest.json",
"uri" : "${RIA_LIB_URI}/slc-web"
},
{
"manifest" : "${RIA_LIB_PATH}/slc/Manifest.json",
"uri" : "${RIA_LIB_URI}/slc"
},
{
"manifest" : "${ROOT}/Manifest.json"
}
],
"include" :
[
"${APPLICATION}.Application",
"${CUSTOM_PACKAGE}.*",
"${QXTHEME}"
],
"cache" :
{
"compile" : "${CACHE}"
},
"settings" :
{
"qx.version" : "${QXVERSION}",
"qx.theme" : "${QXTHEME}",
"qx.application" : "${APPLICATION}.Application",
"ria.StartupPerspective":"org.argeo.slc.web.LauncherPerspective"
}
},
// -- source jobs --------------------------------------------------
"source-script" :
{
"extend" : ["common"],
"compile-source" :
{
"file" : "${ROOT}/script/${APPLICATION}.js",
"locales" : "${LOCALES}",
"root" : "${ROOT}",
"gzip" : false
}
},
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel