Philip Weaver schrieb:
> I'm new to Qooxdoo. I understand that the make process of Qooxdoo can 
> be used to check the syntax of a project. But what is the most 
> efficient way to do this? When I run "make source" the script loads 
> 415 (qooxdoo) source files and takes forever "resolving dependencies". 
> What is the most efficient method to heck the syntax of my project? 
> Also, each time I add a new source file or class to my project I have 
> to run "make source" again and again? Is this correct? I am trying to 
> read the online docs...
Yes each time you add a file to your project you have to rerun "make" 
again but make does cache all parsed files. Only the first run should 
take that long. Each subsequent call is usually really fast. The easiest 
way to check the syntax of your whole project would be the "make" call. 
If you want to check the syntax for only one single file you can use the 
"treegenerator" module of the generator separately:

frontend/framework/source/tool/modules/treegenerator.py YOUR.js

If you like you can add this command to your favorite text editor.

> I do understand that I have an alternative of using JSEclipse or 
> Anatan with the Qooxdoo component but I prefer to use my traditional 
> text editor and use the supplied scripts to check syntax as needed 
> before each run.
Both do not have qooxdoo build support. They only have a qooxdoo outline 
view (aptana for 0.7, JSEclipse only 0.6).


Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to