How to set packaging rules to NOT reduce pool dictionaries?

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

How to set packaging rules to NOT reduce pool dictionaries?

Postby PhotonDemon » Fri Jun 12, 2009 7:08 am

Hi Everybody,

How do I change packaging rules to NOT reduce all pool dictionaries? I am (still) trying to package my Seaside app as an NT service. I have made some progress and will report to this group when I get it all worked out. But right now I have discovered that Seaside and SST use items that have been reduced out of pool dictionaries by a rule like "reduce all pool dictionaries". Can I turn this off someplace?

Lou
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
PhotonDemon
[|]
 
Posts: 176
Joined: Thu Dec 20, 2007 1:45 pm

Re: How to set packaging rules to NOT reduce pool dictionaries?

Postby marten » Sat Jun 13, 2009 12:48 am

As a first shot I would remove the rule

"
aRuleCreationInterface reduceAllReferencedPoolDictionaries
"

from the method "#packagingRulesFor:" in your packaging class

and add a line like

"
aRuleCreationInterface includeGlobalVariable: #'PackSymbol'.
"

where PackSymbol is your own pool dictionary ...

These steps can also be done the in Packager GUI ... look at the image contents and add a rule and delete the rule ...


Marten
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: How to set packaging rules to NOT reduce pool dictionaries?

Postby PhotonDemon » Mon Jun 15, 2009 10:51 am

Hi Marten,

Thanks for the reply. I figured out about removing the #reduceAllReferencedPoolDictionaries call in #packagingRulesFor: late Friday. Your hint about being able to do it from the Packager GUI lead me to learn a little more about the packager and clean some thing up. So, thanks for that.

Lou
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
PhotonDemon
[|]
 
Posts: 176
Joined: Thu Dec 20, 2007 1:45 pm

Re: How to set packaging rules to NOT reduce pool dictionaries?

Postby Torkuato38 » Sat Sep 19, 2009 12:59 pm

In setting rules sometimes, you may wish to write expressions in a workspace that makes reference to constants or other variables in Pool Dictionaries. In order to do this you must first associate the pool dictionaries with the workspace. You can do this using the Workspace/Pools command. This will prompt with a multi-selection list containing all of the pools available in the system. From here you should choose those pools that you wish to make use of. :wink:
________________
Freelance writing
Torkuato38
 
Posts: 1
Joined: Sat Sep 19, 2009 12:20 pm


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest