Re: [qooxdoo-devel] Problems with new source build process/make in 0.6.4
Brought to you by:
ecker,
martinwittemann
From: Alessandro S. <ale...@mc...> - 2006-12-30 21:05:58
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hello Markus,<br> <blockquote cite="mid...@li..." type="cite"> <pre wrap=""> I upgraded to qooxdoo 0.6.4 and use the improved build process. But I have two problems with the source build (The normal build works perfect!) 1. If I have a namespace my.namespace I need either two variables: - APPLICATION_NAMESPACE: my.namespace - APPLICATION_NAMESPACE_PATH: my/namespace or the qooxdoo build process must handle the '/' and the '.' internally At the moment the generated C.js cannot be loaded because the build process generates a directory my.namespace/translation instead of my/namespace/translation (The source script tries to load a file my/namespace/translation/C.js) </pre> </blockquote> As a workaround, try setting APPLICATION_TRANSLATION_CLASS_PATH as follows:<br> <br> APPLICATION_TRANSLATION_CLASS_PATH = source/class/my/namespace/translation<br> <br> <blockquote cite="mid...@li..." type="cite"> <pre wrap="">2. My icon theme does not work anymore in source build. The following lines are generated in the normal build if(!qx.Settings._customSettings["my.namespace.Application"])qx.Settings._customSettings["my.namespace.Application"]={}; qx.Settings._customSettings["my.namespace.Application"]["resourceUri"]="./resource/my.namespace"; So in my IconTheme I added the line qx.Settings.setDefault("imageUri", qx.Settings.getValueOfClass("my.namespace.Application", "resourceUri") + "/icon"); But this does not work in source build because the _customSettings["my.namespace.Application"] are not generated </pre> </blockquote> If your resources are placed in resource/my.custom, you can try adding<br> <br> qx.Settings.setDefault("resourceUri", "./resource/my.custom");<br> <br> in your initialize() method.<br> <br> Cheers,<br> Alessandro<br> <br> <br> </body> </html> |