Quick Fame/FM3 question
by Itsme
Hi.
I am quite interested in using this to have more explicit representation of
my models, and get some of the boiler-plate bits like accessors for 2-way
associations code-generated. Is there anything like a short tutorial to help
get started? I don't expect to be doing fancy meta-meta things for some
time.
Thanks! -- Sophie
15 years
Bug in FAMIX?
by Alexandre Bergel
Hi,
| class |
class := FAMIXClass new.
class name: 'AClass'.
class addToMethods: (FAMIXMethod new name: 'aMethod'; yourself).
class addToMethods: (FAMIXMethod new name: 'anotherMethod'; yourself).
(class mooseDescription allAttributes detect: [:p | p name ==
#methods]) getFrom: class
The following code returns:
an Array(an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod))
Shouldn't it be instead?:
an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod)
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
15 years
Re: [Moose] problem install
by Tudor Girba
Hi Fabrizio,
The problem is that CodeCrawler is not maintained since several years
and it probably does not work with the latest version of Moose. So, I
do not have an answer for you :(.
Cheers,
Doru
On Sep 5, 2008, at 12:23 PM, Fabrizio Faustinoni wrote:
>
> Ok, i found how to install codeCrawler, but , i alwas more error....
> can you help me? thx
>
>
> From: fabry_00(a)hotmail.com
> To: girba(a)iam.unibe.ch
> Subject: RE: [Moose] problem install
> Date: Fri, 5 Sep 2008 12:07:40 +0200
>
> Thanks,Thanks,Thanks,Thanks for the help!!!!
>
> So, i follow the instruction ( there was another error ( error.jpg
> attached) i pushed continue, but i thing that it isn't important) (i
> try to load internalRelease and after Development, i have always the
> same error), after tathl i didn't see the codeCrawler Icon as in
> this videohttp://www.inf.unisi.ch/faculty/lanza/codecrawler.html .
> So, after, i try again to load MooseSuiteLoaderFromSCGStore again,
> but ther'is the same error that i posted befor!
> How do i install codeCrawler?
> Thanks again!.
> Fabrizio
>
>
>
> > CC: moose-dev(a)iam.unibe.ch
> > From: girba(a)iam.unibe.ch
> > To: fabry_00(a)hotmail.com
> > Subject: Re: [Moose] problem install
> > Date: Fri, 5 Sep 2008 10:22:34 +0200
> >
> > Hi Fabrizio
> >
> > Please try again, this time following the instructions from:
> > http://moose.unibe.ch/download/scgstore
> >
> > Cheers,
> > Doru
> >
> > On Sep 5, 2008, at 9:21 AM, Fabrizio Faustinoni wrote:
> >
> > > Good Morning, I am a student of University of MILAN (italy)
> > > (università degli studi milano bicocca),
> > > I need to install CodeDrawler ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> > > ),
> > > I follow the seguent instruction ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> > > ) for install visualWorks, but after that i load
> > > MooseSuiteLoaderFromSCGStore.pcl ( from the file brower of
> > > visualWorks), it asked me to "Download lastest moose suite
> > > development Version", then i click OK, after some operations there
> > > is an error (attached images ), i try to solve de error but i
> > > failed! Can you help me?
> > > THanx and sorry for my bad english.
> > > Fabrizio
> > >
> > > Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> > > _______________________________________________
> > > Moose mailing list
> > > Moose(a)iam.unibe.ch
> > > https://www.iam.unibe.ch/mailman/listinfo/moose
> >
> > --
> > www.tudorgirba.com
> > www.tudorgirba.com/blog
> >
> > "If you interrupt the barber while he is cutting your hair, you will
> > end up with a messy haircut."
> >
>
> Foto, blog, amici. crea il tuo spazio online! C'è Spaces!
> Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> <error2.JPG><error.JPG>
--
www.tudorgirba.com
www.tudorgirba.com/blog
"The coherence of a trip is given by the clearness of the goal."
15 years
Fwd: [Moose] problem install
by stephane ducasse
Begin forwarded message:
> From: Fabrizio Faustinoni <fabry_00(a)hotmail.com>
> Date: September 5, 2008 9:21:23 AM CEDT
> To: <moose(a)iam.unibe.ch>
> Subject: [Moose] problem install
>
> Good Morning, I am a student of University of MILAN (italy)
> (università degli studi milano bicocca),
> I need to install CodeDrawler ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ),
> I follow the seguent instruction ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ) for install visualWorks, but after that i load
> MooseSuiteLoaderFromSCGStore.pcl ( from the file brower of
> visualWorks), it asked me to "Download lastest moose suite
> development Version", then i click OK, after some operations there
> is an error (attached images ), i try to solve de error but i
> failed! Can you help me?
> THanx and sorry for my bad english.
> Fabrizio
>
> Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
15 years
Re: [Moose] problem install
by Tudor Girba
Hi Fabrizio
Please try again, this time following the instructions from:
http://moose.unibe.ch/download/scgstore
Cheers,
Doru
On Sep 5, 2008, at 9:21 AM, Fabrizio Faustinoni wrote:
> Good Morning, I am a student of University of MILAN (italy)
> (università degli studi milano bicocca),
> I need to install CodeDrawler ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ),
> I follow the seguent instruction ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ) for install visualWorks, but after that i load
> MooseSuiteLoaderFromSCGStore.pcl ( from the file brower of
> visualWorks), it asked me to "Download lastest moose suite
> development Version", then i click OK, after some operations there
> is an error (attached images ), i try to solve de error but i
> failed! Can you help me?
> THanx and sorry for my bad english.
> Fabrizio
>
> Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
--
www.tudorgirba.com
www.tudorgirba.com/blog
"If you interrupt the barber while he is cutting your hair, you will
end up with a messy haircut."
15 years
tired....
by Stéphane Ducasse
So can somebody smart explain to me the following
before in Squeak incomingInvocations was
incomingInvocations
incomingInvocations isNil ifTrue: [ incomingInvocations :=
OrderedCollection new ].
in oscar changes it is
incomingInvocations
<MSEProperty: #incomingInvocations type: #FAMIXInvocation opposite:
#candidates> <mulivalued> <derived>
^ incomingInvocations values
So what should I do.
Because now I do not know! But I'm certainly stupid for sure.
What I know is that this metastuff gets in our way.
I do not care about reproducing complete code (which we cannot in FAME
because lazy initialization and other useful code level
idioms are not represented) and now instead of focusing on Moose I
have to deal with meta representation concerns.
Really I think that we got trapped there.
Knowing where to stop is as important as doing it. Next time I will
fight really hard against any smart cleaner cooler meta meta stuff.
Which is sad because I know what I'm talking about.
Stef
15 years
accessedByLists vs. accessedByList
by stéphane ducasse
I'm confused.
There are
accessedByLists
<MSEProperty: #accessedByLists type: #FAMIX2Access opposite:
#accesses> <multivalued>
^ accessedByLists
but no instance variable
the only one is accessedByList
So what is the point?
should I rename accessedByLists into accessedByList?
Stef
15 years
from FAMIXClass to FAMIX2Class
by Alexandre Bergel
Hi again,
Doru, last week you wrote a small class definition for the MooseFinder.
| class |
class := FAMIXClass new.
class name: 'AClass'.
class addToMethods: (FAMIXMethod new name: 'aMethod'; yourself).
class addToMethods: (FAMIXMethod new name: 'anotherMethod'; yourself).
Remember?
I guess this should be the FAMIX 2 version of these 5 lines of code:
| class |
class := FAMIX2Class new.
class setName: 'AClass'.
class addToMethods: (FAMIX2Method new setName: 'aMethod'; yourself).
class addToMethods: (FAMIX2Method new setName: 'anotherMethod';
yourself).
However it lamentably open debugger that cannot be closed. The image
is unusable.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
15 years
deprecating initializeMeta
by stéphane ducasse
Doru
could you have a look and replace initializeMeta by a correct
invocation?
We go to eat now.
Stef
15 years