You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2004/07/12 20:24:27 UTC
cvs commit: gump/python/gump/runner demand.py runner.py
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