Hi,
You can start with this script to create the model that should run on some of the recent versions of Pharo and then adapt to your own needs.
|importer model1 | importer := MoosePharoImporterTask new. importer importingContext: (MooseImportingContext new importClass; importMethod; importAccess; importInvocation; importInheritance; mergeClassAndMetaclass; yourself). importer candidateClass: CandidateListOperator. importer importerClass: SmalltalkImporter. importer model: MooseModel new; addFromPackagesNamed: #(#'XML-Writer-Tests'); run. model1 := importer model. model1 name: 'a moose model'.
usman
On Fri, May 23, 2014 at 9:55 AM, Hayatou Oumarou hayatou.oumarou@inria.frwrote:
Hi all, I have two questions : how to load Moose in Pharo 1.0? then how can I make in a programmatic way a MooseModel with packages that I chose in Pharo 1.0? cheers,
Hayatou
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev