Hi,

I noticed the same behaviour as deech - when I add classes to my own lib or
even use a class in my app I wasn't using before, I have to run distclean
and then source again (using svn trunk).
Is this wanted? When I don't add new classes I don't need to run the
generator and when I do add new files I have to use distclean before running
the generator. Sounds confusing to me... ;-)

Thanks,
Daniel


Guilherme Aiolfi wrote:
> 
> source will include just those files that you are using in your app (and
> dependencies for those ones). So, it need to be called every time you use
> a
> new class (a class that was not used before in your code).
> **source-all* will include all qooxdoo files. So you have to use
> source-all
> just once (or when you need to include a new file created by you).
> 
> I use *distclean *just when I update qooxdoo. And *clean* just when I
> think
> that some changes I made have no effect for some reason related to cached
> files (rarely).
> 
> On Wed, Sep 30, 2009 at 3:54 PM, aditya siram
> <[email protected]>wrote:
> 
>> Hi all,
>> I am using 0.8.3. What is the best way to run the generator after adding
>> a
>> class to a project?
>>
>> So assuming I have a working project after an initial "generate.py
>> source-all", after adding a class should I run "generate.py source" or
>> "generate.py source-all"? Also should I be doing a "generate.py clean" or
>> "generate.py distclean" before I run the generator?
>>
>> I only ask because I have had issues where if I just add a class and run
>> "generate.py source", the class name does not show up in the
>> /source/script/projectname.js file and Firebug complains about an unknown
>> constructor.
>>
>> thanks ...
>> -deech
>>
> 

-- 
View this message in context: 
http://www.nabble.com/Best-Practice-for-running-generator-after-adding-a-class-tp25686854p25687758.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to