How to create a new application !

One of the goals when doing source code generation is the definition, in which application the source should be generated in. You need an application for that. It’s very easy to create a new application before you may use this application as a source code container:

| newAppClass newApplicationName |

newApplicationName := 'NewTestApplication'.

  the name must be an instance of Symbol and the array contains all prerequisites of your newly
newAppClass := Application
                        create:  newApplicationName asSymbol
                        with: (Array with: Kernel).
newAppClass isNil ifTrue:[ "Error !" ].
This entry was posted in Smalltalk. Bookmark the permalink.