Non-Commercialization parcel does not initialize NC workspace vars

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

Non-Commercialization parcel does not initialize NC workspace vars

Terry Raymond
Hi

The NC parcel does not initialize the NC workspace variables.
The following codes needs to be added to the NC parcel postLoad block.


[ :pkg |  
        #{Tools.SimpleWorkspace.GettingStartedWorkspace} bindingOrNil value:
                (pkg propertyAt: #gettingStartedWorkspace ifAbsent: [''])
asValue.
        #{Tools.SimpleWorkspace.OverviewWorkspace} bindingOrNil value:
                (pkg propertyAt: #overviewWorkspace ifAbsent: ['']) asValue.
        #{Tools.SimpleWorkspace.NonCommercialWorkspace} bindingOrNil value:
                (pkg propertyAt: #nonCommercialWorkspace ifAbsent: [''])
asValue.
        #{Tools.SimpleWorkspace.IvanWorkspace} bindingOrNil value:
                (pkg propertyAt: #ivanWorkspace ifAbsent: ['']) asValue.]
Terry
 
===========================================================
Terry Raymond       Smalltalk Professional Debug Package
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================