Sebastian,

great, that took me one step further. The custom.js starts
with
   qx.IS_SOURCE=false;
   qx.VERSION="0.0";

   /* ID: qx.Settings */
   if(!window.qx){qx={};
   }

After moving the first two lines inside the !window.qx brackets
the custom.js gets interpreted without errors.
Can I tweak the generator.py command line to avoid the misplaced
lines?

Since custom.js works, I can now start to rework my 0.6 based code
to adopt to the changes. Guess You will here from me soon;)

Thanks,
Rüdiger


Sebastian Werner wrote:
> Hi Rüdiger,
> 
> looks good so far. Maybe you can add "--add-new-lines --add-file-ids" to 
> the parameters and take a look at the problematic line reported by 
> Firefox' Debug console. Maybe there is also a syntax error before the 
> other error occour?
> 
> Sebastian
> 
> 
> Rüdiger Herrmann schrieb:
>> Hi all,
>>
>> with my first custom build I get "qx is not defined"
>> in FF and a similar error message in IE.
>>
>> I guess its something very simple and obvious but I
>> can't figure it out...
>>
>> what I did so far...
>>
>> 1. downloaded the SDK zip file and unpacked it to $SOURCE
>>
>> 2. to create the build I used the following call:
>>     generator.py \
>>       --generate-compiled-script \
>>       --compiled-script-file ${OUTPUT}/script/custom.js \
>>       --class-path ${SOURCE}/class/ \
>>       --copy-resources \
>>       --resource-input ${SOURCE}/resource \
>>       --resource-output ${OUTPUT}/resource
>>
>>     btw is the qx sdk download code encoded in UTF-8? and
>>     how does generate.py encode the output?
>>
>>     custom.js looks all right, is about 1 MB in size, all
>>     resources were copied to the $OUTPUT directory
>>
>> 3. created an HTML file with <script> tags that load custom.js
>>     and my own 20 or so (uncompressed) JavaScript files, each
>>     containing one class.
>>
>> When loading the above mentioned HTML File, the error console
>> reports a "qx is not defined" error for each file.
>>
>> Thanks in advance
>> Rüdiger
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to