Wide classes for VW
by Adrian Kuhn
As ESUG was so inspiring, I could not resist some VW hacking on the
train home...
If you browse to WideClass and WideClassTest on SCG Store, there is a
simple implementation of wide classes. As we have tons of empty inst
vars in moose models, that might help us to save some megas on large
case studies.
How to use it?
Sending #wide:put: to any object will install an instance var and
accessors on the receiver instance.
o := Object new.
o wide: #foo put: 4.
o foo
and even better, if you implement #foo and #foo: as follows
foo ^nil
foo: arg self wide: #foo put: arg
upon first execution of #foo: the foo inst var is installed and both
methods get properly overriden with simple accessors. There is no DNU
hack anywhere!
Hope you have some fun playing around with it!
cheers,
AA
16 years, 2 months
problem importing mse files
by Richard Wettel
Hi,
Today I tried to import from mse files and I get the following
exception during the import:
"Message not understood: #accessedByLists"
Then, I tried to import a model from Smalltalk and to export it in
mse. Loading this fresh file generated the same exception. Could you
please fix this?
(I peeked a bit in the Moose code and it seems that
FAMIXAbstractStructuralEntity has an accessedByList attribute and two
pairs of accessors: #accessedByList and #accessedByLists and the
setters, too. Maybe it has something to do with this).
Thanks and cheers!
Ricky
PS. And another issue is that when I tried to load the latest
MooseDevelopment bundle, I got some packages that could not be loaded...
16 years, 2 months
less progress bars
by Tudor Girba
Hi,
I chatted with Travis Griggs and he showed me a package called
LessProgress. This packages replaces the ugly progress bars that
always get on top of any window with a small progress bar in the
Launcher (see attached picture).
To use it, you have to:
- load LessProgress (either from Cincom or from Bern Store)
- go to the Window menu in the Launcher
- New Launcher
- done
I put this in my base image.
Cheers,
Doru
--
www.iam.unibe.ch/~girba
www.iam.unibe.ch/~girba/blog/
"We cannot reach the flow of things unless we let go."
16 years, 3 months
[pre-announcement] founding of Moose Verein this Thurs
by Adrian Kuhn
Dear Moosers, the founding assembly of Moose Verein will take place
this Thursday evening at ESUG in Lugano.
More informations will follow, alas there is no wireless in the
conference room.
cheers,
AA
16 years, 3 months
Founing of Moose Verein at ESUG in Lugano
by Adrian Kuhn
Dear Moosers,
as you might remember, the founding of Moose Verein was postponed at
Famoosr due to missing bylaws. The purpose of the association is to
support Moose and Famix, eg by organizing a Summer of Code.
We plan to found the Moose Verein at ESUG in Lugano, see doodle
http://www.doodle.ch/q88eyauxxriwe5ue
I have setup a wiki page with draft bylaws, taken from the nice
booklet "Wie gründe und leite ich einen Verein?" by Urs Scherrer. See
link below
http://smallwiki.unibe.ch/moose/association/
The bylaws are in German. It would be nice if someone could translate
them to English. The English bylaws will not be legally binding, they
are only meant as support for foreign-speaking members. The google
translation looks 90% correct, hence the translation job would mainly
be to fix mistakes like "photograph request" for "Aufnahmegesuch".
http://translate.google.com/translate?u=http%3A%2F%
2Fsmallwiki.unibe.ch%2Fmoose%2Fassociation%2F&langpair=de%7Cen&hl=en
@Orla, you said that you might volunteer for translation, is that
still okay with you?
Please stay tuned for more news, and forward this mail to anyone in
your network that might have an interest in the Moose association.
cheers,
AA
--
Adrian Kuhn MSc
Software Composition Group
http://www.iam.unibe.ch/~akuhn
http://www.iam.unibe.ch/~akuhn/news.xml
16 years, 3 months
ecore import export
by Tudor Girba
Hi Sara,
I saw you added the Ecore code into Meta. I did not have the time to
take a closer look, but I did noticed you have a lot of tests for
your code, and they are all green. That is nice :).
As you probably saw in the previous mail, adding EcoreImportExport to
Meta generated some loading problems when loading 'Moose Config',
because you have two classes that are in SCG.Moose namespace.
However, Meta does not depend on Moose, but Moose depends on Meta.
So, no class in the Meta bundle should be in the Moose namespace.
I see several solutions to fix the problem:
- move the classes to the Meta namespace for now, although they do
not belong there
- move the classes to the MooseDevelopment bundle
- move the classes in a separate bundle that has MooseDevelopment
bundle as prerequisite
Also, please add comments to the versions you are adding, because it
helps us track what is happening.
In any case, I am looking forward to taking a closer look at the
code :).
Cheers,
Doru
--
www.iam.unibe.ch/~girba
www.iam.unibe.ch/~girba/blog/
"Problem solving should be concentrated on describing
the problem in a way that is relevant for the solution."
16 years, 3 months
Re: metamodel from Smalltalk Code
by Adrian Kuhn
Hey Sara,
the issue is fixed, now you can say
SCG.Moose asMetaDescription classes
and get all meta-descriptions of all classes without the annoying
initialize loop.
PS: next week I am in Berlin, I might not have time to fix bugs, but
I am usually available via mail.
cheers,
AA
On 27 Jul 2007, at 15:32 , sellossa(a)ensieta.fr wrote:
> hello,
>
> why, when I do: SCG.Moose asMetaDescription, I get sthing different
> from when I do: SCG.Moose allClasses do: #asMetaDescription.
> ^SCG.Moose asMetaDescription
>
> Stef find it terrible!
>
> sara
16 years, 3 months