Hi Alex,

On 8 januari 2010 09:41 Alexander Steitz wrote:
> On Thursday 07 January 2010 19:42:05 Mikael Hakman wrote:
> > Some of the files within the framework use the ".js" suffix but aren't
> > actually valid script files. They are templates and as such don't
> > contain
> > valid script code - it is my understanding that they are read by
> >  generate.py etc. They give me cascades of error messages in my IDE. Can
> > I
> >  change (and how to) the suffix to something else that wouldn't be
> >  perceived as script by my IDE but still be useable by generate.py?
> Can you tell us what files are bugging your IDE? Then we can take a closer
> look
> and maybe explain their purpose.

Many thanks Alex for your response. Here is a list of files that are flagged
by JSDT in Eclipse:

Following files contain invalid characters:

/QX/application/demobrowser/source/class/demobrowser/demo/data/Form.js -
invalid character at line 147
/QX/application/demobrowser/source/class/demobrowser/demo/data/FormControlle
r.js - invalid character at line 81
/QX/application/demobrowser/source/class/demobrowser/DemoBrowser.js -
invalid character at line 924 and 925
/QX/application/feedreader/source/class/feedreader/view/AddFeedWindow.js -
invalid character at line 134 and 142
/QX/application/playground/source/class/playground/Application.js - invalid
character at line 545
/QX/application/showcase/source/class/showcase/page/theme/calc/Model.js -
invalid character at line 276
/QX/application/showcase/source/class/showcase/page/theme/calc/Presenter.js
- invalid character at line 115
/QX/application/showcase/source/class/showcase/Page.js - invalid character
at line 79
/QX/component/apiviewer/source/class/apiviewer/ui/SearchView.js - invalid
chracter at line 161 and 496
/QX/component/apiviewer/source/class/apiviewer/Controller.js - invalid
character at line 332
/QX/component/inspector/source/class/inspector/objects/ObjectsWindow.js -
invalid character at line 107 and 135

Files were read using UTF-8 encoding. In all above cases the invalid
character is displayed as space in editor. Removing that "space" and typing
a new space fixes the error.

Following files contain syntax errors:

/QX/framework/source/class/qx/bom/Selector.js - syntax error on token ',', .
expected at line 191
/QX/framework/source/class/qx/bom/Selector.js - string litteral is not
properly closed by double quote at line 429
/QX/framework/source/class/qx/test/util/NumberFormat.js - syntax error on
token "infinity", invalid VariableDeclaratorId at line 57
/QX/framework/source/class/qx/test/util/NumberFormat.js - syntax error on
token "infinity" at line 58

Following files are not JavaScript files at all:

/QX/component/skeleton/contribution/trunk/demo/default/source/class/custom/d
emo/theme/Theme.tmpl.js
/QX/component/skeleton/contribution/trunk/demo/default/source/class/custom/d
emo/Application.tmpl.js
/QX/component/skeleton/contribution/trunk/source/class/custom/theme/classic/
Theme.tmpl.js
/QX/component/skeleton/contribution/trunk/source/class/custom/theme/modern/T
heme.tmpl.js
/QX/component/skeleton/gui/source/class/custom/theme/Theme.tmpl.js
/QX/component/skeleton/inline/source/class/custom/theme/Theme.tmpl.js

/QX/tool/data/generator/loader-build.tmpl.js
/QX/tool/data/generator/loader-source.tmpl.js
/QX/tool/data/generator/loader.tmpl.js

Thanks/Mikael



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to