ajack 2004/07/12 11:24:27
Modified:python/gump/runner demand.py runner.py
Log:
More of the same...
Revision ChangesPath
1.7 +20 -10gump/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 - 1.6
+++ demand.py 12 Jul 2004 18:24:27 - 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 - 1.7
+++ runner.py 12 Jul 2004 18:24:27 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]