> I  use a new class, suppose qx.io.remote.Request("url") in my source.
> The I run ./generate build, and check the index.html page in the build
> directory, the error console in firefox says "qx.io undefined"
> on repeated running ./generate source and ./generate build
> both the source directory index.html & build directory index.html say
> "qx.ioundefined"

This indeed sounds like a bug. Is there any way of reproducing the issue
reliably? It would be great if you could open a bug for it and supply as
much information as you have on how the behaviour manifests itself.

Thomas

> This I suppose is a bug and supposedly occurs when the cache is outdated.
> It gets resolved when I delete the cache files.
> It only happens rarely, and I remain a fan of Qooxdoo :-)
>
> I think this should be mentioned in the beginner tutorials,
> because it gets a bit irritating, when it does'nt run even when the source
> seems perfect.
>
> source-all sounds good.
>
>
> xask.linus wuz here
>
>
> 2008/12/28 thron7 <thomas.herchenroe...@1und1.de>
>
>> >
>> > Hi !,
>> > It is a bug in qooxdoo 0.8
>> > Qooxdoo maintains a cache to speed up the "./generate.py build" and
>> > "./generate.py source" commands.
>> > If the cache is some how outdated is not refreshed it does not include
>> the
>> > required dependencies, which has happened in your case and mine.
>> >
>> > A simple solution is too remove all files contained in the cache
>> folder
>> > and
>> > then run "./generate source" or "./generate build" again, to remind it
>> of
>> > the dependencies it has too include.
>> >
>> > it does not happen often, but when it does it is just so irritating
>> when
>> > you
>> > just dont seem to know why !
>>
>> "It's not a bug, it's a feature" ;-). Chances are this crops up whenever
>> you use a new class for the first time (like qx.io.remote.Rpc in Yann's
>> example). Then you don't have to clear the cache folder, just re-run
>> 'generate.py source' or 'generate.py build', and everything will be
>> fine.
>> The cache is not outdated, but since dependencies of an application are
>> "wired" into the generated output, you have to re-run the generation
>> when
>> dependencies change (particularly, when new dependencies have been
>> added)
>> [1].
>>
>> This helps to keep the generated output lean. This is deliberately so
>> for
>> the build version of the app. In case of the source version, if you are
>> willing to pay the additional cost of size and start-up time, you might
>> want  to use the new job 'source-all' in place of 'source' which has
>> been
>> added with 0.8.1. This job will build a source version that contains
>> *all*
>> classes  of the involved libraries, and will allow you to add new class
>> references to your application without re-running 'generate.py source';
>> you just have to reload your app in the browser.
>>
>> HTH,
>> Thomas
>>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>



------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to