| Home | Trees | Index | Help |
|
|---|
| Package SCons :: Module SConf :: Class SConfBuildTask |
|
Task --+
|
SConfBuildTask
This is almost the same as SCons.Script.BuildTask. Handles SConfErrors correctly and knows about the current cache_mode.
| Method Summary | |
|---|---|
collect_node_states(self)
| |
Hook to allow the calling interface to display a message. | |
Logs the original builder messages, given the SConfBuildInfo instance bi. | |
Called to execute the task. | |
Default action when a task fails: stop the build. | |
| Inherited from Task | |
| |
Clears any recorded exception. | |
Returns info about a recorded exception. | |
Records an exception to be raised at the appropriate time. | |
Called when the task has been successfully executed and the Taskmaster instance wants to call the Node's callback methods. | |
Called when the task has been successfully executed and the Taskmaster instance wants to call the Node's callback methods. | |
Called when the task has been successfully executed and the Taskmaster instance doesn't want to call the Node's callback methods. | |
Explicit continue-the-build failure. | |
Explicit stop-the-build failure. | |
Fetch the target being built or updated by this task. | |
Marks all targets in a task ready for execution if any target is not current. | |
Marks all targets in a task ready for execution. | |
Marks all targets in a task ready for execution if any target is not current. | |
Post-processes a task after it's been executed. | |
Called just before the task is executed. | |
| Method Details |
|---|
display(self, message)Hook to allow the calling interface to display a message. This hook gets called as part of preparing a task for execution (that is, a Node to be built). As part of figuring out what Node should be built next, the actually target list may be altered, along with a message describing the alteration. The calling interface can subclass Task and provide a concrete implementation of this method to see those messages.
|
display_cached_string(self, bi)Logs the original builder messages, given the SConfBuildInfo instance bi. |
execute(self)Called to execute the task. This method is called from multiple threads in a parallel build, so only do thread safe stuff here. Do thread unsafe stuff in prepare(), executed() or failed().
|
failed(self)Default action when a task fails: stop the build.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Dec 12 09:39:31 2007 | http://epydoc.sf.net |