Date: 2004-07-12T12:08:16 Editor: 67.235.113.203 <> Wiki: Gump Wiki Page: GumpCode URL: http://wiki.apache.org/gump/GumpCode
Added more verbiage. Change Log: ------------------------------------------------------------------------------ @@ -7,13 +7,21 @@ '''Main Packages:''' -See GumpInternals for how a run (the tree of context) is formed (objects from XML) and worked on. +See GumpInternals for how a run (the tree of context) is formed/loaded (objects from XML) and worked upon. - * [http://brutus.apache.org/gump/pydoc/gump.core.html Core Classes (e.g. Gump Run)] - * [http://brutus.apache.org/gump/pydoc/gump.model.html Object Model (e.g. Project/Module...)] - * [http://brutus.apache.org/gump/pydoc/gump.runner.html Running (perform a run)] - * [http://brutus.apache.org/gump/pydoc/gump.update.html Updating (CVS/SVN/etc.)] - * [http://brutus.apache.org/gump/pydoc/gump.build.html Building (Ant/Maven/etc.)] + * [http://brutus.apache.org/gump/pydoc/gump.core.html Core Classes] (e.g. [http://brutus.apache.org/gump/pydoc/gump.core.gumprun.html#GumpRunOptions GumpRunOptions], [http://brutus.apache.org/gump/pydoc/gump.core.gumprun.html#GumpSet GumpSet], [http://brutus.apache.org/gump/pydoc/gump.core.gumprun.html#GumpRun GumpRun]) + * [http://brutus.apache.org/gump/pydoc/gump.model.html Object Model] (e.g. Project/Module, etc.) + * [http://brutus.apache.org/gump/pydoc/gump.runner.html Runner] (perform a run) + * [http://brutus.apache.org/gump/pydoc/gump.update.html Updater] (CVS/SVN/etc.) + * [http://brutus.apache.org/gump/pydoc/gump.build.html Builder] (Ant/Maven/etc.) + +1) Create [http://brutus.apache.org/gump/pydoc/gump.core.gumprun.html#GumpSet GumpSet] + +The input parameters (e.g. all or * or avalon-*) are matched against projects in the loaded workspace to determine a list of projects. The dependencies for those projects are sorted to create an order project sequence. The modules for that complete sequence is stored. We now have a full GumpSet with all the details we need to perform a run. This (along with [http://brutus.apache.org/gump/pydoc/gump.core.gumprun.html#GumpRunOptions Run Options]), and the original workspace tree (of projects/modules) are stored on a [http://brutus.apache.org/gump/pydoc/gump.core.gumprun.html#GumpRun GumpRun]. + +2) [http://brutus.apache.org/gump/pydoc/gump.runner.html Run] + +The [http://brutus.apache.org/gump/pydoc/gump.runner.html Runner] loops throug the build sequence and (when needed) does an [http://brutus.apache.org/gump/pydoc/gump.update.html update] on a module before doing a [http://brutus.apache.org/gump/pydoc/gump.build.html build] of the project. When done (with each) a [http://brutus.apache.org/gump/pydoc/gump.core.gumprun.html#RunEvent Run Event] is dispatched to all listening worker/actors. The workers/actors do their thing (e.g. update stats, generate documentation, etc.) '''Workers (Actors)''': --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
