PackageDescription: BuilderBundle(Bundle)


Builder Bundle

Last published: January 27, 2012 by 'jamesr'


BuilderBundle consists of a few pieces:

-- Builder - ths package defines a simple script runner. The simple build tool defined here will run scripts (using VW or not) in succession, and gather results
-- Builder-Automation - this package contains automation tools for the Builder. It will generate scripts and execute them, either from a GUI or not. See classes AppBuildScripter and BuildDriver for details
-- SMES-Builder - contains all the hard coded constants used by the build tools for the MES project. Changing these should make it possible to use these tools for other projects
-- TestAutomation - One approach to automating SUnitToo tests and capturing result sets
-- PackageUpdater - tools to update bundles (with newer contained packagaes).

To customize, see BuildDriver class>>appBuilderClass and BuildDriver class>>scriptGeneratorClass

To add files such as those used in the tests, do the following:


bundle := Store.Registry bundleNamed: 'BuilderBundle'.
bundle addFile: 'testBuildScripts/build-Simple-assertion.st'.
bundle addFile: 'testBuildScripts/build-Simple.ini'.
bundle addFile: 'testBuildScripts/build-Simple.st'.
bundle addFile: 'testBuildScripts/build-missing-defs.ini'.

And an example of a build - this assumes a package called MyCounter", which defines a subsystem and a simple UI as the
example for the build.

bundle := Store.Registry bundleNamed: 'BuilderBundle'.
bundle addFile: 'build-test-counter.ini'.
bundle addFile: 'buildTest-parcels.st'.
bundle addFile: 'buildTest-runtime.st'.
bundle addFile: 'buildTest-parcels-assertion.st'.
bundle addFile: 'buildTest-runtime-assertion.st'


You can manage them from the publish tool once they are manually added