monticello tutorial?

Daniel Vainsencher danielv at netvision.net.il
Mon Jun 30 00:52:13 UTC 2003


Declarations, yuck. 

What exactly do you want from the dependency declarations?

Most people want one of two things -
* Automated loading - use a load script in SM.
* To be warned about bad dependencies - declarations stink at this
anyway. Use MudPie.

Daniel

Joshua 'Schwa' Gargus <schwa at cc.gatech.edu> wrote:
> Thanks, Ned.  That will be very helpful.
> 
> Is there a way to specify dependencies between packages?
> 
> Joshua
> 
> 
> On Sun, Jun 29, 2003 at 03:44:43PM -0700, Ned Konz wrote:
> > On Sunday 29 June 2003 03:27 pm, Joshua 'Schwa' Gargus wrote:
> > 
> > > I loaded Monticello from SqueakMap, and have absolutely no idea
> > > how to use it.  I created a new package directory and package, but
> > > can't figure out how to add code to a package.  I tried dragging
> > > classes/categories, changing the current changeset to the one
> > > created when I created the new package, and other things.
> > >
> > > Any hints?
> > 
> > Monticello uses the same conventions for determining package contents 
> > as PackageInfo. That is:
> > 
> > Classes that are part of a package should be in a class category whose 
> > name is in the form
> > 
> > 	PackageName-Something
> > 
> > If you have a PackageInfo subclass (which isn't necessary), it should 
> > be in a class category whose name is
> > 
> > 	PackageName-Info
> > 
> > Extension methods should all be in method categories with names of the 
> > form
> > 
> > 	*packagename-something
> > 
> > or similar (the prefix is case-insensitive).
> > 
> > I posted a change set recently to help you re-categorize all the 
> > extension methods in a change set so they will live in a particular 
> > package. But before using it, set up your package's classes in the 
> > right class categories.
> > 
> > -- 
> > Ned Konz
> > http://bike-nomad.com
> > GPG key ID: BEEA7EFE
> >



More information about the Squeak-dev mailing list