Hi Martin,

Martin wrote:
> Hi Alex,
> I think build version.
Yes, you're working with the "build" version if you execute 
"./generate.py build".
For development it's better to stick with the "source" version, since 
you get debug messages and other useful stuff. The build version is 
targeted for deployment.
-> http://qooxdoo.org/documentation/0.8/helloworld#deployment

> All I did was
> 
> svn co https://qooxdoo.svn.sourceforge.net/svnroot/qooxdoo/trunk/qooxdoo
> 
> then generated new skeleton, copied my 2 files from 0.8 (which worked
> fine, and also was SVN version)
That should work fine.

> then
>  ./generate.py  build
> 
> Shall I
>  ./generate.py source  and then point webserver to ./source instead ./build ?
Yes. Better use the source version and try it. Check for the files which 
are loaded from the webserver. In the source version every class is 
loaded separately, so you should get a bunch of requests when starting 
the app. If not, report the errors here and we'll look after them ;-)

cheers,
   Alex


>> Hi Martin,
>>
>> Martin wrote:
>>> I tried it now (distclean,source), but it didn't help.
>>>
>>> Firebug shows those files being requested from server:
>>> GET /
>>> GET /script/custom.js
>>> GET /script/custom-0.js
>> Are you running the "source" or "build" version?
>>
>> cheers,
>>    Alex
>>
>>>> Hi Martin,
>>>>
>>>> have you tried to check the Firebug "Network" tab to look if the
>>>> classes
>>>> are loaded?
>>>>
>>>> Could you try to run "./generate.py distclean" and then "./generate
>>>> source" to check if everything is working fine. "distclean" removes the
>>>> cache and cleans up some files.
>>>>
>>>> cheers,
>>>>    Alex
>>>>
>>>> Martin wrote:
>>>>> Hello,
>>>>> yesterday (may be 1 month after last update), I updated qooxdoo from
>>>>> SVN
>>>>> and tried to build my project. But there were some errors with
>>>>> generate.py, so I created new skeleton and I have everything new. Then
>>>>> I
>>>>> copied 2 files from my old project (Application.js + Manager.js) and
>>>>> built
>>>>> it. It built OK, but when I tried to load the page, errors like
>>>>> "qx.html.Label is not constructor" or "qx.ui.layout.Grow is not
>>>>> constructor" appeared in Firefox Console.
>>>>> My project is main Application.js, which only creates new instance of
>>>>> Manager (defined in Manager.js), Manager extends
>>>>> qx.ui.container.Composite.
>>>>> What I found out is, that if I define some variable like
>>>>> var somename = new qx.ui.layout.Grow();  in Application.js, then error
>>>>> is
>>>>> gone. So I am thinking, than generate.py is not checking classes which
>>>>> are
>>>>> used in Manager.js  or something.
>>>>> I found that there were some changes with URI handling or something,
>>>>> can
>>>>> this be some problem?
>>>>> I checked  Application.js + demobrowser.js (application.js also
>>>>> creates
>>>>> demobrowser which is extension of .Composite), and I think class
>>>>> definitions are same as in my project.
>>>>>
>>>>> Does anybody know what the real problem could be? Or will I have to
>>>>> create
>>>>> variabbles in Application.js for all types I'm using in Manager.js?
>>>>>
>>>>> BTW: I tried to run "./genbuild.py migration" and it didn't help.
>>>>>
>>>>> Thanks,
>>>>> Martin

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to