From leon at newavenue.net Fri Dec 2 17:53:37 2005 From: leon at newavenue.net (Leon Yeh) Date: Fri, 02 Dec 2005 14:53:37 -0800 Subject: [Rake-devel] Multiple Rakefile build Message-ID: <4390D071.9080807@newavenue.net> Hi All, I have just started using Rake, I usually use ant, but got caught the Ruby fever :-) I have been using RoR for web development and in need rake to do data migration. I wanted to build a hirarchical build system similar to Makefile. Example below \database_migration Rakefile \task_migrate_empTable Rakefile drop_empTable.rb create_empTable.rb .. \task_migrate_salesTable Rakefile drop_salesTable.rb create_salesTable.rb What I want to do is that the top-level Rakefile go thru the folders and invoke each of Rakefile. Below is my first rakefile, but it was not working. What is the correct way to do this ? Any help are greatly appreciated. require 'rake' desc "Migrate Employee Table" task :employeeTbl do cd "task_empTbl" Rake.application.load_rakefile() Rake.application.run() cd "../" end task :default => [ :distributorTbl, :employeeTbl ] Thanks in advance Leon Yeh From Patrick.Bennett at inin.com Fri Dec 2 18:11:27 2005 From: Patrick.Bennett at inin.com (Bennett, Patrick) Date: Fri, 2 Dec 2005 18:11:27 -0500 Subject: [Rake-devel] Multiple Rakefile build Message-ID: <260A0A30F9017945932CC4F7B911B33902CB5FA9@i3mail1.i3domain.inin.com> I modified my rake.rb to support this via an additional command that specified subdirectories to get added to a queue. Rake then iterates through this queue loading the rakefiles and executing them [clearing out all tasks between]. It doesn't work like make either, where people frequently recursively launch new copies of make for each makefile. Obviously, that would be horribly inefficient. > -----Original Message----- > From: rake-devel-bounces at rubyforge.org > [mailto:rake-devel-bounces at rubyforge.org] On Behalf Of Leon Yeh > Sent: Friday, December 02, 2005 5:54 PM > To: rake-devel at rubyforge.org > Subject: [Rake-devel] Multiple Rakefile build > > Hi All, I have just started using Rake, I usually use ant, > but got caught the Ruby fever :-) > > I have been using RoR for web development and in need rake to > do data migration. I wanted to build a hirarchical build > system similar to Makefile. Example below > > > \database_migration > Rakefile > \task_migrate_empTable > Rakefile > drop_empTable.rb > create_empTable.rb > .. > \task_migrate_salesTable > Rakefile > drop_salesTable.rb > create_salesTable.rb > > > > What I want to do is that the top-level Rakefile go thru the > folders and > invoke each of Rakefile. Below is my first rakefile, but it > was not working. What is the correct way to do this ? Any > help are greatly appreciated. > > require 'rake' > > > desc "Migrate Employee Table" > task :employeeTbl do > cd "task_empTbl" > Rake.application.load_rakefile() > Rake.application.run() > cd "../" > end > > task :default => [ > :distributorTbl, > :employeeTbl > ] > > > Thanks in advance > Leon Yeh > _______________________________________________ > Rake-devel mailing list > Rake-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/rake-devel > From leon at newavenue.net Fri Dec 2 18:15:17 2005 From: leon at newavenue.net (Leon Yeh) Date: Fri, 02 Dec 2005 15:15:17 -0800 Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <260A0A30F9017945932CC4F7B911B33902CB5FA9@i3mail1.i3domain.inin.com> References: <260A0A30F9017945932CC4F7B911B33902CB5FA9@i3mail1.i3domain.inin.com> Message-ID: <4390D585.7020102@newavenue.net> Hi Patrick, thanks for the information. Do you mind to cut and paste your code ? so can I learn from it and patch my rake.rb. Thank you Leon Yeh Bennett, Patrick wrote: > I modified my rake.rb to support this via an additional command that > specified subdirectories to get added to a queue. > Rake then iterates through this queue loading the rakefiles and > executing them [clearing out all tasks between]. > It doesn't work like make either, where people frequently recursively > launch new copies of make for each makefile. Obviously, that would be > horribly inefficient. > > >>-----Original Message----- >>From: rake-devel-bounces at rubyforge.org >>[mailto:rake-devel-bounces at rubyforge.org] On Behalf Of Leon Yeh >>Sent: Friday, December 02, 2005 5:54 PM >>To: rake-devel at rubyforge.org >>Subject: [Rake-devel] Multiple Rakefile build >> >>Hi All, I have just started using Rake, I usually use ant, >>but got caught the Ruby fever :-) >> >>I have been using RoR for web development and in need rake to >>do data migration. I wanted to build a hirarchical build >>system similar to Makefile. Example below >> >> >>\database_migration >> Rakefile >> \task_migrate_empTable >> Rakefile >> drop_empTable.rb >> create_empTable.rb >> .. >> \task_migrate_salesTable >> Rakefile >> drop_salesTable.rb >> create_salesTable.rb >> >> >> >>What I want to do is that the top-level Rakefile go thru the >>folders and >> invoke each of Rakefile. Below is my first rakefile, but it >>was not working. What is the correct way to do this ? Any >>help are greatly appreciated. >> >>require 'rake' >> >> >>desc "Migrate Employee Table" >>task :employeeTbl do >> cd "task_empTbl" >> Rake.application.load_rakefile() >> Rake.application.run() >> cd "../" >>end >> >>task :default => [ >> :distributorTbl, >> :employeeTbl >>] >> >> >>Thanks in advance >>Leon Yeh >>_______________________________________________ >>Rake-devel mailing list >>Rake-devel at rubyforge.org >>http://rubyforge.org/mailman/listinfo/rake-devel >> > > > > _______________________________________________ > Rake-devel mailing list > Rake-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/rake-devel From blair at orcaware.com Fri Dec 2 19:09:19 2005 From: blair at orcaware.com (Blair Zajac) Date: Fri, 02 Dec 2005 16:09:19 -0800 Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <4390D071.9080807@newavenue.net> References: <4390D071.9080807@newavenue.net> Message-ID: <4390E22F.9070207@orcaware.com> Leon Yeh wrote: > Hi All, I have just started using Rake, I usually use ant, but got > caught the Ruby fever :-) > > I have been using RoR for web development and in need rake to do data > migration. I wanted to build a hirarchical build system similar to > Makefile. Example below > > > \database_migration > Rakefile > \task_migrate_empTable > Rakefile > drop_empTable.rb > create_empTable.rb > .. > \task_migrate_salesTable > Rakefile > drop_salesTable.rb > create_salesTable.rb You may want to look at using Ruby on Rails' migrations, which are very close to what you have here. They offer some great features, plus the automatic running of migrations in the proper order to bring your database up to or back down to a specific level. Here's some URLs for it: http://api.rubyonrails.com/classes/ActiveRecord/Migration.html http://jamis.jamisbuck.org/articles/2005/09/27/getting-started-with-activerecord-migrations http://wiki.rubyonrails.com/rails/pages/UnderstandingMigrations http://weblog.rubyonrails.com/archives/2005/09/27/database-agnostic-schemas-with-migrations http://glu.ttono.us/articles/2005/10/27/the-joy-of-migrations Regards, Blair -- Blair Zajac, Ph.D. Subversion and Orca training and consulting http://www.orcaware.com/svn/ From leon at newavenue.net Fri Dec 2 19:19:02 2005 From: leon at newavenue.net (Leon Yeh) Date: Fri, 02 Dec 2005 16:19:02 -0800 Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <4390E22F.9070207@orcaware.com> References: <4390D071.9080807@newavenue.net> <4390E22F.9070207@orcaware.com> Message-ID: <4390E476.9010100@newavenue.net> Thank a bunch, I will look into it. Blair Zajac wrote: > Leon Yeh wrote: > >>Hi All, I have just started using Rake, I usually use ant, but got >>caught the Ruby fever :-) >> >>I have been using RoR for web development and in need rake to do data >>migration. I wanted to build a hirarchical build system similar to >>Makefile. Example below >> >> >>\database_migration >> Rakefile >> \task_migrate_empTable >> Rakefile >> drop_empTable.rb >> create_empTable.rb >> .. >> \task_migrate_salesTable >> Rakefile >> drop_salesTable.rb >> create_salesTable.rb > > > You may want to look at using Ruby on Rails' migrations, which are very close to > what you have here. They offer some great features, plus the automatic running > of migrations in the proper order to bring your database up to or back down to a > specific level. > > Here's some URLs for it: > > http://api.rubyonrails.com/classes/ActiveRecord/Migration.html > http://jamis.jamisbuck.org/articles/2005/09/27/getting-started-with-activerecord-migrations > http://wiki.rubyonrails.com/rails/pages/UnderstandingMigrations > http://weblog.rubyonrails.com/archives/2005/09/27/database-agnostic-schemas-with-migrations > http://glu.ttono.us/articles/2005/10/27/the-joy-of-migrations > > Regards, > Blair > From jim at weirichhouse.org Fri Dec 2 20:06:19 2005 From: jim at weirichhouse.org (Jim Weirich) Date: Sat, 3 Dec 2005 01:06:19 -0000 (UTC) Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <4390D071.9080807@newavenue.net> References: <4390D071.9080807@newavenue.net> Message-ID: <37039.216.23.48.219.1133571979.squirrel@weirichhouse.org> Leon Yeh said: > Hi All, I have just started using Rake, I usually use ant, but got > caught the Ruby fever :-) > > I have been using RoR for web development and in need rake to do data > migration. I wanted to build a hirarchical build system similar to > Makefile. [...] > What I want to do is that the top-level Rakefile go thru the folders and > invoke each of Rakefile. I tend to avoid recursive make/rake invocations. I prefer to build a unified dependency graph for the entire project. You can read about this approach here: http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html Of course, you don't have to put the entire dependency graph in a single Rakefile. You can distribute it across your subdirectories and just require the fragments as you need. Then everything runs in a single rake process and rake handles all necessary builds. One problem with really large projects is the possibility of name collisions amoung the different sub-directories. The CVS head of Rake now supports namespaces so each subdirectory can create tasks in its own namespace without conflict. (The code is ready for a beta-release ... I just haven't had time to document the new features yet). -- -- Jim Weirich jim at weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas) From patrick.bennett at inin.com Sat Dec 3 02:11:34 2005 From: patrick.bennett at inin.com (Patrick Bennett) Date: Sat, 03 Dec 2005 02:11:34 -0500 Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <37039.216.23.48.219.1133571979.squirrel@weirichhouse.org> References: <4390D071.9080807@newavenue.net> <37039.216.23.48.219.1133571979.squirrel@weirichhouse.org> Message-ID: <43914526.2050904@inin.com> Jim Weirich wrote: >Leon Yeh said: > > >>Hi All, I have just started using Rake, I usually use ant, but got >>caught the Ruby fever :-) >> >>I have been using RoR for web development and in need rake to do data >>migration. I wanted to build a hirarchical build system similar to >>Makefile. [...] >>What I want to do is that the top-level Rakefile go thru the folders and >> invoke each of Rakefile. >> >> > >I tend to avoid recursive make/rake invocations. I prefer to build a >unified dependency graph for the entire project. You can read about this >approach here: >http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html > > I personally believe this is a horrible approach (at least for the size of builds I deal with). The article you point out mainly speaks to the (very true) harm in recursively spawning new instances of make. All of this is because 'make' at least provides no other way to do this than to recursively spawn new instances of make. At our company, our nightly builds now top 70 gigs, so building a unified dependency graph for everything at once before building a single line of code would be, well, kind of crazy (Ruby wouldn't handle it very well anyway). Boost.Build works this way to an extent, and when you want to recompile a specific component, you don't want to wait for it to load the dependency information for every piece of code in the system before it looks at the 5 files in your test component. What makes sense in my mind at least, is to mix the models (or at least support it ;>). One instance of rake, keep a queue of rakefiles to run, running each in order, and keep certain key dependency information across rakefiles while clearing the tasks between rakefiles. The C++ dependency generator data is maintained [the same headers tend to get referenced over and over again] across rakefiles. The target dependency information is persisted into shared manifests so Loading every source/object/target/link reference dependency for the entire system (Boost.Build works the same way) is only good for relatively 'small' systems. With our system at least, almost every single executable has at least 4 build variations (windows debug/release, and linux debug/release). That's at a bare minimum. We have about 700+ components - some with hundreds of source files each. Any given C++ source file might reference well over 1100 header files. Each variation of the build types needs a different graph (different paths potentially, so different headers - different compilation options, different targets - so they have to be different tasks). Loading it all into a single dependency graph would work fine - if you worked on a small system. >Of course, you don't have to put the entire dependency graph in a single >Rakefile. You can distribute it across your subdirectories and just >require the fragments as you need. Then everything runs in a single rake >process and rake handles all necessary builds. > > This makes some sense, but if you see the only option is to either load everything all at once and then run, or to load one rakefile and run, with no alternative in between, then I disagree. >One problem with really large projects is the possibility of name >collisions amoung the different sub-directories. > Yup, Boost.Build handled this by fully resolving all the defined tasks/files/etc into, effectively, unique namespaces based on the fully resolved paths. >The CVS head of Rake now >supports namespaces so each subdirectory can create tasks in its own >namespace without conflict. (The code is ready for a beta-release ... I >just haven't had time to document the new features yet). > > I definitely think it's a good idea that you intend to support building the dependency graph based on rakefiles from multiple directories. It could definitely prove useful in some cases. However, if you intend on this being the one, true way, then I think you're being a tad short-sighted. The paper you sighted (which is 8 years old) talks about a project containing 3,000 files as a hypothetical large system [at least that's the impression I had]. That's so small it's kind of laughable. A single branch of our codebase contains *at least* 100,000+ files. :\ -- *Patrick Bennett* | Software Engineer phone & fax +1.317.715.8302 | patrick.bennett at inin.com *Interactive Intelligence Inc.* Deliberately Innovative www.inin.com From patrick.bennett at inin.com Sat Dec 3 02:12:49 2005 From: patrick.bennett at inin.com (Patrick Bennett) Date: Sat, 03 Dec 2005 02:12:49 -0500 Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <4390D585.7020102@newavenue.net> References: <260A0A30F9017945932CC4F7B911B33902CB5FA9@i3mail1.i3domain.inin.com> <4390D585.7020102@newavenue.net> Message-ID: <43914571.6080800@inin.com> Leon Yeh wrote: >Hi Patrick, thanks for the information. Do you mind to cut and paste >your code ? so can I learn from it and patch my rake.rb. > >Thank you >Leon Yeh > > Sure, if you're still interested I can send you a snippet. Patrick Bennett From jim at weirichhouse.org Sat Dec 3 08:12:15 2005 From: jim at weirichhouse.org (Jim Weirich) Date: Sat, 3 Dec 2005 13:12:15 -0000 (UTC) Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <43914526.2050904@inin.com> References: <4390D071.9080807@newavenue.net><37039.216.23.48.219.1133571979.squirrel@weirichhouse.org> <43914526.2050904@inin.com> Message-ID: <65073.64.241.37.140.1133615535.squirrel@weirichhouse.org> Patrick Bennett said: > What makes sense in my mind at least, is to mix the models (or at least > support it ;>). [...] > This makes some sense, but if you see the only option is to either load > everything all at once and then run, or to load one rakefile and run, > with no alternative in between, then I disagree. [...] > However, if you intend on this being the one, true way, then I think > you're being a tad short-sighted. Sorry Patrick ... I keep forgetting about your tremendously *huge* build system. I'm thrilled you are using Rake to build it and don't have any problems with the way you are approaching it. That being said, I think I would push the "one Rakefile" approach until it becomes unwieldy (and it seems clear that your system is way beyond that point). -- -- Jim Weirich jim at weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas) From leon at newavenue.net Sat Dec 3 10:28:23 2005 From: leon at newavenue.net (Leon Yeh) Date: Sat, 03 Dec 2005 07:28:23 -0800 Subject: [Rake-devel] Multiple Rakefile build In-Reply-To: <43914571.6080800@inin.com> References: <260A0A30F9017945932CC4F7B911B33902CB5FA9@i3mail1.i3domain.inin.com> <4390D585.7020102@newavenue.net> <43914571.6080800@inin.com> Message-ID: <4391B997.4060009@newavenue.net> Thank you Patrick, I am still interested on the code snippet. Since some of my data migration coming from mainframe data file and complex business rules required, I can not use RoR ActiveRecord migration. Also the data migration process that I am currently work on, can be potential big build, although I am sure is not as big as the project that you mentioned. Additionally, we have also many people working on writing the build at the same time. Jim, I am too new to Rake, would you mind give a little code exampled on what you described in your previous email as "you don't have to put the entire dependency graph in a single Rakefile. You can distribute it across your subdirectories and just require the fragments as you need. Then everything runs in a single rake process and rake handles all necessary builds." Jim, Thank you for pointing out the paper, I will study the paper today. I wanted to get it right the first time,since changing the way the build structure in the middle of project would be very costly. I am considering both approaches for my project data migration build. At this point, I am slightly prefer multiple rakefiles approach. Best regards, Leon Yeh Patrick Bennett wrote: >Leon Yeh wrote: > > > >>Hi Patrick, thanks for the information. Do you mind to cut and paste >>your code ? so can I learn from it and patch my rake.rb. >> >>Thank you >>Leon Yeh >> >> >> >> >Sure, if you're still interested I can send you a snippet. > >Patrick Bennett > > From damphyr at freemail.gr Sat Dec 10 08:25:52 2005 From: damphyr at freemail.gr (Damphyr) Date: Sat, 10 Dec 2005 14:25:52 +0100 Subject: [Rake-devel] CVS HEAD unit tests Message-ID: <439AD760.7020705@freemail.gr> Jim, I'm trying to test a patch I made to check for 'Changing task dependencies from another task' using the unit tests in the Rake Rakefile. I get several failures, and I wanted to ask if it's stuff that hasn't been fixed yet or it's just that I need to set omehting for the tests to be succesful? Also, what's the session required for functional tests? Here's the output (bear in mind that I have a 0.6.2 installation with patched RDoc and SSHPublisher on Windows XP) (in D:/projects/rubyforge/rake/rake) mkdir -p testdata d:/dev/ruby/bin/ruby -w -Ilib "d:/dev/ruby/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb" "te st/test_clean.rb" "test/test_definitions.rb" "test/test_earlytime.rb" "test/test_filelist.rb" "test/test_fileu tils.rb" "test/test_file_creation_task.rb" "test/test_file_task.rb" "test/test_ftp.rb" "test/test_makefile_loa der.rb" "test/test_multitask.rb" "test/test_package_task.rb" "test/test_rake.rb" "test/test_rules.rb" "test/te st_tasks.rb" "test/test_task_manager.rb" "test/test_test_task.rb" "test/contrib/testsys.rb" "test/functional.r b" UNABLE TO RUN FUNCTIONAL TESTS No Session Found Loaded suite d:/dev/ruby/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader Started ........E.E......................................................-e:1:in `exit': no implicit conversion from n il to integer (TypeError) from -e:1 FE.EF.................F.......................................... Finished in 13.569 seconds. 1) Error: test_create(TestEarlyTime): ArgumentError: argument out of range ./test/test_earlytime.rb:9:in `mktime' ./test/test_earlytime.rb:9:in `test_create' 2) Error: test_original_time_compare_is_not_messed_up(TestEarlyTime): ArgumentError: argument out of range ./test/test_earlytime.rb:24:in `mktime' ./test/test_earlytime.rb:24:in `test_original_time_compare_is_not_messed_up' 3) Failure: test_ruby(TestFileUtils) [./test/test_fileutils.rb:109:in `test_ruby' ./test/test_fileutils.rb:107:in `call' ./lib/rake.rb:558:in `sh' ./lib/rake.rb:641:in `sh' ./lib/rake.rb:636:in `sh' ./lib/rake.rb:576:in `ruby' ./lib/rake.rb:641:in `ruby' ./lib/rake.rb:636:in `ruby' ./test/test_fileutils.rb:107:in `test_ruby' ./test/test_fileutils.rb:103:in `verbose' ./test/test_fileutils.rb:103:in `test_ruby']: <123> expected but was <1>. 4) Error: test_sh(TestFileUtils): RuntimeError: Command failed with status (1): [test/shellcommand.rb] ./lib/rake.rb:551:in `sh' ./lib/rake.rb:550:in `call' ./lib/rake.rb:558:in `sh' ./lib/rake.rb:641:in `sh' ./lib/rake.rb:636:in `sh' ./test/test_fileutils.rb:64:in `test_sh' ./test/test_fileutils.rb:64:in `verbose' ./test/test_fileutils.rb:64:in `test_sh' 5) Error: test_sh_multiple_arguments(TestFileUtils): RuntimeError: Command failed with status (1): [test $RAKE_TEST_SH = someval] ./lib/rake.rb:551:in `sh' ./lib/rake.rb:550:in `call' ./lib/rake.rb:558:in `sh' ./lib/rake.rb:641:in `sh' ./lib/rake.rb:636:in `sh' ./test/test_fileutils.rb:71:in `test_sh_multiple_arguments' ./test/test_fileutils.rb:71:in `verbose' ./test/test_fileutils.rb:71:in `test_sh_multiple_arguments' 6) Failure: test_sh_special_handling(TestFileUtils) [./test/test_fileutils.rb:89:in `test_sh_special_handling' ./test/test_fileutils.rb:88:in `call' ./lib/rake.rb:558:in `sh' ./lib/rake.rb:641:in `sh' ./lib/rake.rb:636:in `sh' ./test/test_fileutils.rb:88:in `test_sh_special_handling' ./test/test_fileutils.rb:87:in `verbose' ./test/test_fileutils.rb:87:in `test_sh_special_handling']: is not true. 7) Failure: test_each_dir_parent(TestRake) [./test/test_rake.rb:11]: <["c:/a/b", "c:/a", "c:"]> expected but was <["c:/a/b", "c:/a", "c:/"]>. 130 tests, 425 assertions, 3 failures, 4 errors rake aborted! -- http://www.braveworld.net/riva ____________________________________________________________________ http://www.freemail.gr - ?????? ???????? ???????????? ????????????. http://www.freemail.gr - free email service for the Greek-speaking. From jim at weirichhouse.org Mon Dec 12 07:10:31 2005 From: jim at weirichhouse.org (Jim Weirich) Date: Mon, 12 Dec 2005 07:10:31 -0500 Subject: [Rake-devel] CVS HEAD unit tests In-Reply-To: <439AD760.7020705@freemail.gr> References: <439AD760.7020705@freemail.gr> Message-ID: <200512120710.32123.jim@weirichhouse.org> On Saturday 10 December 2005 08:25 am, Damphyr wrote: > Jim, I'm trying to test a patch I made to check for 'Changing task > dependencies from another task' using the unit tests in the Rake Rakefile. > I get several failures, and I wanted to ask if it's stuff that hasn't > been fixed yet or it's just that I need to set omehting for the tests to > be succesful? The tests all run successfully for me on my linux box: traken$ rake ta (in /home/jim/working/rubyforge/rake) mkdir -p testdata /usr/local/bin/ruby -w -Ilib "/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.99.2/lib/rake/rake_test_loader.rb" "test/test_filelist.rb" "test/test_fileutils.rb" "test/test_package_task.rb" "test/test_ftp.rb" "test/test_clean.rb" "test/test_tasks.rb" "test/test_rake.rb" "test/test_makefile_loader.rb" "test/test_test_task.rb" "test/test_rules.rb" "test/test_file_creation_task.rb" "test/test_file_task.rb" "test/test_earlytime.rb" "test/test_multitask.rb" "test/test_definitions.rb" "test/test_task_manager.rb" "test/contrib/testsys.rb" "test/functional.rb" Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.99.2/lib/rake/rake_test_loader Started ................................................................................................................................................ Finished in 24.033096 seconds. 144 tests, 474 assertions, 0 failures, 0 errors > Also, what's the session required for functional tests? Session is used to drive the application from the console, capturing all input and output. Unfortunately, session doesn't work in windows so the functional tests are usually disabled there. I will try the tests on a windows box when I get a chance. -- -- Jim Weirich jim at weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)