Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 93616 invoked from network); 12 Jul 2004 18:24:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jul 2004 18:24:29 -0000 Received: (qmail 79902 invoked by uid 500); 12 Jul 2004 18:24:28 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 79785 invoked by uid 500); 12 Jul 2004 18:24:28 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 79772 invoked by uid 500); 12 Jul 2004 18:24:27 -0000 Received: (qmail 79768 invoked by uid 99); 12 Jul 2004 18:24:27 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 12 Jul 2004 11:24:27 -0700 Received: (qmail 93540 invoked by uid 1728); 12 Jul 2004 18:24:27 -0000 Date: 12 Jul 2004 18:24:27 -0000 Message-ID: <20040712182427.93539.qmail@minotaur.apache.org> From: ajack@apache.org To: gump-cvs@apache.org Subject: cvs commit: gump/python/gump/runner demand.py runner.py X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ajack 2004/07/12 11:24:27 Modified: python/gump/runner demand.py runner.py Log: More of the same... Revision Changes Path 1.7 +20 -10 gump/python/gump/runner/demand.py Index: demand.py =================================================================== RCS file: /home/cvs/gump/python/gump/runner/demand.py,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- demand.py 12 Jul 2004 16:07:41 -0000 1.6 +++ demand.py 12 Jul 2004 18:24:27 -0000 1.7 @@ -129,25 +129,35 @@ printTopRefs(100,'Before Loop') + # The key information gumpSet=self.run.getGumpSet() - + gumpOptions=self.run.getOptions() workspace = self.run.getWorkspace() - if workspace.isMultithreading() and workspace.hasUpdaters(): - # Experimental... - self.spawnUpdateThreads(workspace.getUpdaters()) + if gumpOptions.isUpdate(): + if workspace.isMultithreading() and workspace.hasUpdaters(): + # Experimental... + self.spawnUpdateThreads(workspace.getUpdaters()) + + # The project TODO list... + if gumpOptions.isQuick(): + sequence=gumpSet.getProjects() + else: + sequence=gumpSet.getProjectSequence() # In order... - for project in gumpSet.getProjectSequence(): + for project in sequence: # Process the module, upon demand module=project.getModule() - if not module.isUpdated(): - log.debug('Update module *inlined* ' + `module` + '.') - self.performUpdate(module) + if gumpOptions.isUpdate(): + if not module.isUpdated(): + log.debug('Update module *inlined* ' + `module` + '.') + self.performUpdate(module) - # Process the project - self.performBuild(project) + if gumpOptions.isBuild(): + # Process the project + self.performBuild(project) # Seems a nice place to peek/clean-up... #printTopRefs(100,'Before Loop GC') 1.8 +1 -1 gump/python/gump/runner/runner.py Index: runner.py =================================================================== RCS file: /home/cvs/gump/python/gump/runner/runner.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- runner.py 12 Jul 2004 18:19:05 -0000 1.7 +++ runner.py 12 Jul 2004 18:24:27 -0000 1.8 @@ -160,7 +160,7 @@ log.debug('Perform run using [' + `self` + ']') - self.performRun() + return self.performRun() def getRunner(run): from gump.runner.demand import OnDemandRunner --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@gump.apache.org For additional commands, e-mail: general-help@gump.apache.org