[DVS] PackageInfo subclasses and PackageManager
avi at beta4.com
Sun Apr 20 02:10:00 UTC 2003
On Sat, 19 Apr 2003, Ned Konz wrote:
> With the new version of DVS, I no longer see Connectors in the Package
> Panel when I load the SAR. This used to work.
> I have a subclass of PackageInfo.
> What happened? How do we make custom PackageInfo subclasses work the
> right way?
I don't think it has anything to do with custom subclasses; I think it has
to do (at least indirectly) with the SARBuilder.
When you file out a DVS package from the PackagePanel, the last chunk in
the file looks like
Smalltalk at: #FilePackageManager
ifPresent: [:p | p registerPackage: 'SomePackage'].!
This is what causes the package to show up in the PackagePanel when it's
The Connectors.st file doesn't have this chunk. I assume this is because
SARBuilder uses the simple PackageInfo>>fileOut instead of DVS (I seem
to remember this came up before when class comments weren't getting
included in SARs).
One solution would be to just append a similar chunk to the .st file when
building a SAR.
More information about the Squeak-dev