[Etoys] bulk project cleanups

Yoshiki Ohshima yoshiki at vpri.org
Thu Jun 18 18:14:07 EDT 2009


At Wed, 17 Jun 2009 20:35:57 +0530,
K. K. Subramaniam wrote:
> 
> Hi,
> 
> I need to repair a few hundred Etoys (3.1) project files that have spurious 
> changesets in them. How can I do this in Squeak unattended? i.e. without 
> having to load and enter each project, run cleanups and then save them 
> manually?
> 
>   for each project blah in a defaultDirectory.
>       ProjectLoading loadFromDir: .......
>       In this project.
>                run commands
>       	       storeOnServerWithNoInteraction
>       delete project.

  I think you got the basics right.  I think that QuickGuideMorph
class>>convertProjectsWithBooksToSISSIn:to: does somewhat similar.
ChangeSet>>clear clears it up, and instead of saving to something
else, it have to be saved as a project.  The last part may be a bit
tricky.

-- Yoshiki


More information about the Etoys mailing list