To be exact,

I modified generated files to contain this:

qx.$$loader = {
  parts : {"boot":[0]},
  uris : [qxscripts],
  boot : "boot"
};

qxscripts is array of my files to load, but there is no network
communication and qooxdoo complains that there is no application (not
loaded, this is logical).

So what is needed to force qooxdoo loader to load files declared as boot ?

2009/3/6 Petr Kobalíček <[email protected]>:
> Hi devs,
>
> after some time not developing in qooxdoo I'm back. I want to update
> qxbuild to be able to sucessfully build 0.8.2 and SVN. I tried it now
> and I have some problems.
>
> First I see is that there is now only 1 javascript file generated per
> one build type (build or debug), I tried to look at generated files
> and there is something like this:
>
> qx.$$loader = {
>  parts : {"boot":[0]},
>  uris : [["script/qx-debug-0.js"]],
>  boot : "boot"
> };
>
> Isn't this incorrect ?
>
> Also I have question if I can add some things into boot loader (this
> way is used for older qxbuild) ? I mean add possibility to control it
> from html wrapper file.
>
> My way using qxbuild was this (html file):
>
> <script type="text/javascript">
>  // [Settings]
>  qxsettings =
>  {
>    "qx.application"  : "bfly.main.Application",
>    "qx.theme"        : "bfly.theme.Light",
>    "qx.resourcesUri" : "/res/bfly/support/qooxdoo/resource"
>  };
>
>  // [Scripts]
>  qxscripts =
>  [
>    "/res/bfly/support/qooxdoo/script/qx-build-0.js"
>
>    ,"/res/bfly/admin/bfly.theme.js"
>    ,"/res/bfly/admin/bfly.main.js"
>    ,"/res/bfly/admin/bfly.lib.js"
>    ,"/res/bfly/admin/bfly.lib.filebrowser.js"
>    ,"/res/bfly/admin/bfly.lib.richtext.js"
>    ,"/res/bfly/admin/bfly.lib.db.js"
>    ,"/res/bfly/admin/bfly.io.js"
>    ,"/res/bfly/admin/bfly.ui.js"
>    ,"/res/bfly/admin/bfly.forms.js"
>    ,"/res/bfly/admin/bfly.base.js"
>    ,"/res/bfly/admin/bfly.web.js"
>    ,"/res/bfly/admin/bfly.web.news.js"
>    ,"/res/bfly/admin/bfly.shop.js"
>    ,"/res/bfly/admin/bfly.devel.js"
>  ];
> </script>
>
> <script type="text/javascript"
> src="/res/bfly/support/qooxdoo/script/qx-build.js"></script>
>
> Now it seems that I can delete
> /res/bfly/support/qooxdoo/script/qx-build-0.js from file list needed
> to load, but can I without hacks (some python scripts that postprocess
> built files) add this to bootloader by this way?
>
> Thanks for assistence:)
> - Petr
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to