[Pharo-project] About package renaming

Oscar Nierstrasz oscar at iam.unibe.ch
Mon Apr 27 09:23:54 EDT 2009

Hi Igor,

Last time I wanted to do this, my local gurus suggested the  
programmatic solution:

Q How do I move all classes and extension methods from one package to  
| pkg |
pkg := PackageInfo named: 'Saphir'.
pkg classes do: [:class | class category: 'Coral' ].
pkg methods collect: [:method |
	method actualClass organization
		classify: method methodSymbol
		under: #'*coral' ]

- on

On Apr 27, 2009, at 9:08, Igor Stasenko wrote:

> Hello folks,
> recently ive seen some messages about package renaming (but not sure
> in which list, so i post to both ;).
> I have a simple problem, and i hope it having a simple solution:
> i want to rename an MC package to different name.
> Is there any support from tools (MC/browser) to do this automatically?
> -- 
> Best regards,
> Igor Stasenko AKA sig.
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

More information about the Pharo-dev mailing list