Thank you, your link to the tutorial together with your explanations answer my questions to a good deal.
I have read the manual starting from http://manual.qooxdoo.org/1.5.x/index.html, but I think your link is not referenced from there. This manual section is pretty misleading as I said before: http://manual.qooxdoo.org/1.5.x/pages/tool.html I was citing the link to version 0.8, because it was the only link that google found on qooxdoo generator usage, and I couldn't remember where the section was hidden in the manual. Thanks Ron ----- Original Message ----- From: thron7 <[email protected]> To: qooxdoo Development <[email protected]> Cc: Sent: Thursday, July 21, 2011 1:42 PM Subject: Re: [qooxdoo-devel] usage of generate.py On 07/21/2011 01:11 PM, Ron Whittaker wrote: > Hello, > I am looking for some hints, when to run generate.py during the development > of an application, > and which arguments to use. During development I usually test the source > version in order to avoid the additional build > step. > > The existing help is very brief: > "- source -- create source version of current application > - source-all -- create source version of current application, with all > classes" > > What exactly is the difference between the two? 'source' only includes the classes your app *currently* needs. 'source-all' includes *all* known classes, whether they are needed or not. If you want a more elaborate answer, look here: http://manual.qooxdoo.org/1.5.x/pages/tool/tutorial_basics.html#use-the-source-luke > The old documentation http://qooxdoo.org/documentation/0.8/generator_usage > says: > "As a few quick hints at how you would invoke the generator, here are the > most common use cases. > * generate.py source – when you just started to create your application and > every time you have added new classes to it. > ..." Mh, I wonder why you would consult the 0.8 documentation. Is this the qooxdoo version you are working with (hope not)?! Did you have trouble looking at the manual that corresponds to your SDK?! > Elsewhere I read that I have to use source-all when I add classes. Depends if you add (and reference) an entirely new class *file* to your app ; then the answer is yes. Or if you only add a new *reference* to a previously existing class; then the answer is no. > How do I invoke generate.py if I only modify a single class Application.js, > but if this modification references > additional builtin qooxdoo classes that have not been referenced before? not > at all, "source" or "source-all"? That depends on the previous 'generate.py' command. If that was 'source-all' you don't have to do anything besides reloading the app in the browser. If your previous command was 'source', then you have re-run one of the source jobs. (The difference becomes only relevant for the *next* such change in your code). > Some documentation explaining what generate.py is doing under the hood for > the different jobs would be the best help. Mh, this raises the question which documents you've already read?! "under the hood" is a broad field. Did you read the tool chain tutorial? The introduction to the generator in the manual? The list of default jobs? The generator configuration articles? Did you acquaint yourself with the manual at all? HTH, T. ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
