DoItFirst updates (for command option handling early in Squeak image startUp processing)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DoItFirst updates (for command option handling early in Squeak image startUp processing)

David T. Lewis
I have added a couple of enhancements to DoItFirst. The -noinit option
disables file and directory initialization to force a bare minimum of
startup initialization. The -debug option provides a debugger halt at
the earliest feasible point in the startup processing.

To install:

(Installer ss project: 'DoItFirst')
        package: 'DoItFirst-System-Support';
        install
 
DoItFirst image arguments:
        -doit argumentlist "evaluate each argument as a doIt expression"
        -evaluate arg "evaluate arg, print result then exit"
        -filein filelist "file in each file named in fileList"
        -cwd path "set FileDirectory defaultDirectory to path prior to evaluating other options"
        -debug "enter a debugger as soon as possible in the startUp processing"
        -noinit "mimimal initiialization, suppress file and directory startUp processing when evaluating options"
        -help "print this message"
 
To make this work, call DoItFirst reevaluateDebug from Delay class>>startUp
and call DoItFirst reevaluateCwd from FileDirectory class>>startUp

Dave