On 09/28/2010 02:04 PM, Stefan Andersson wrote:
> When a global function or variable has been created outside qooxdoo,
> there is no reference to the variable within the qooxdoo code. Therefore
> the generator generates following message:
> 
> - Hint: Unknown global symbol referenced: lang (com.pc.co.view.Agree:157)
> 
> This is not really satisfactory, as we know about the outside variable.
> Instead it would be great to be able to define these "external"
> variables and function within the config.json file and then output only
> ONE informative mssage about the interface variables and functions found.

These things are checked per class file, and you can fix them per file,
adding

/*
#ignore(lang)
*/

at the top of it.

> 
> For the other case when we didn't know about the reference then the
> message is appropriate, but it might be a warning message instead. Then
> the developer can choose to correct the mistake or define the variable
> or function within config.json.

Well, it says "Hint:", right?! How much indication do you need that this
is a hint?!

T.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to