[Etoys] How to distribute amd install MO for Apps
hilaire at ofset.org
Tue Nov 20 13:20:58 EST 2007
Moreover, in case a DrGeo project file is prepared by the teacher for
his students, only a subset of DrGeo classes may be use, but the
teacher could request the students to construct geometric objects
based on other DrGeo classes, not used in the initial .pr file.
Can it be a problem?
2007/11/20, Bert Freudenberg <bert at freudenbergs.de>:
> On Nov 20, 2007, at 18:31 , Karl wrote:
> > Karl wrote:
> >> Bert Freudenberg wrote:
> >>> Loading an ImageSegment is indeed extremely fast. Even classes
> >>> and compiled methods can be included in a segment. The problem
> >>> is that after loading the segment, references ("outpointers")
> >>> have to be fixed up - for example, all symbols must be made to
> >>> point to the symbol instance in the image, otherwise you would
> >>> have duplicate symbols. And we accumulated a lot of cruft over
> >>> the years that is performed on project load time - fixing up
> >>> fonts, migrating instances to new class layout etc. Working this
> >>> out would be very valuable.
> >> I have looked into this a little.
> >> There is a framework for creating conversion methods in the image
> >> but it is broken.
> >> To test make a new project, add a new morpic class, open the morph
> >> in the project and publish.
> >> Restart Squeak and load the project. You will be prompted to type
> >> in a new class name, a debugger pops up, and a Inspector.
> >> Once you get past that you will see the project view on the
> >> desktop but you will also enter the emergency debugger :-(
> >> I hope once the issues are fixed we can just file out the
> >> conversion files and include them in the projects instead of the
> >> whole
> >> change sets and projects will load faster.
> >> Conversion methods can also be in the image.
> >> Karl
> >> ______
> > Forget previous mail. What is needed is a change set with just the
> > class definition for every new class in your project.
> > The big catch is it seems _every_ object needs to be referenced in
> > the project or it will not be accessible.
> > I just tested with DrGeo, I made a change set with just the class
> > definition, and could open a project
> > but all the functionality was missing :-(
> Classes and methods except for Player subclasses are not included in
> the project image segment currently.
> - Bert -
> Etoys mailing list
> Etoys at lists.laptop.org
Smalltalkers do: [:it | All with: Class, (And love: it)]
More information about the etoys-dev