Hi guys,
I gave a master student the assignment to play with Codecity and other
Moose tools. We have a couple of strange problems for which I hope you
can shed me some light towards a solution.
I attach the mse files of the Java project (generated by MooseBrewer)
to this email.
The first problem seems to be in the Moose history part. When creating
a history of these models, a bug appears in the
SCG.Moose.ClassHistory>>packagedIn method. The "self first
versionEntity packagedIn" seems to be nil and this method cannot cope
with that. I made a blunt code change to get rid of the problem (see
below), but I hardly think this is the right solution.
A second problem is in the visualisation by Codecity. Although each
model produces a nice city, when trying to visualize the evolution,
some versions produce a completely empty city (blank page in the
codecity browser). Any ideas on what may cause this and are you able
to reproduce the problem? (I am using the latest Codecity and Moose
3.2.121, both from the SCG store).
Hope somebody can help ;-)
----
packagedIn
"return the packagehistory it is packaged in"
containingPackageHistory isNil
ifTrue:
[containingPackageHistory := self first versionEntity packagedIn ==
nil
ifTrue: [#nil]
ifFalse:
[(self referenceHistory allPackageHistories
select:
[:each |
each
hasUniqueName:
self first versionEntity packagedIn historicalUniqueName])
first]].
^containingPackageHistory
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
Hi hani
I was checking your code. I do not think that this is correct.
Did you read the email we sent about the topic before summer holidays
on this topic?
AbstractStructuralEntiy>>isStub
"a FAMIXStructuralEntity is stub if its declared as stub or if it
belongs to a stub famix element, or if we do not know really it
belongs to which famix entity (self belongsTo isSymbol -> istrue)"
^super isStub or: [self belongsTo notNil and: [self belongsTo
isSymbol or: [self belongsTo isStub]]]
FAMIXInvocation>>isStub
"a FAMIXInvocation is stub if all its candidate -invoked- methodes,
are stub, or if the invocation is done by a stub method, or if the
invocation has no candidate"
^self candidateList isNil
or: [self candidateList isEmpty
or: [(self candidateList allSatisfy: [:mtd| mtd isStub])
or: [self invokedBy isNil or: [self invokedBy isStub]]]]
Stubbyness is an import property and it is not transitive.
You can have an attribute that is imported and its class is a stub
because the importer leaked.
Now of course this situation does not make sense but this is the state
of the import (we would all prefer that this
imported did not leak but it is in C++ and we do not control it).
Now you need to compute a new property called for example
completelyImported.
So we prefer that you introduce an extra property (related to
stubbyness)
and that thes methods are dealing with this.
So I will remove these two methods from Moose and invite you to define
a completelyImported property and its computation.
If you follow our suggesting we will integrate them in Moose if there
are tests.
Stef and Doru
Hi Michael,
I am glad it worked. In the meantime I have updated the release with
some new settings.
Please give it a try again and let me know if it works:
http://moose.unibe.ch/download/readytouse
Cheers,
Doru
On Oct 31, 2008, at 6:26 PM, Michael Waelti wrote:
> Hello Tudor
>
> I followed the instructions for the scgStore installation and... it
> works! Now the real fun can begin :)
>
> Thank you very much for your prompt help.
>
> all the best
> michael w.
>
> Tudor Girba wrote:
>> Hi Michael,
>>
>> Could you try installing Moose on Ubuntu using the installation
>> steps from the download page of Moose? I would be interested if
>> that would work. Because if it does work something is strange and
>> then we should ask on the VisualWorks mailing list :)
>>
>> Cheers,
>> Doru
>>
>> On Oct 31, 2008, at 2:37 PM, Michael Waelti wrote:
>>
>>> Hello Tudor
>>>
>>> Thank you very much for your quick reply.
>>>
>>> In this case I'll have to have a look at the windows installation
>>> again. The Ubuntu-Problem also occured with one of my team mates
>>> from EVO.
>>> Just thought to let you know.
>>>
>>> Cheers,
>>> Michael
>>>
>>> Tudor Girba wrote:
>>>> Hi Michael,
>>>>
>>>> The ready-to-use distribution works fine on Mac and Windows. I do
>>>> not have a Ubuntu available so I cannot test it. Still I do not
>>>> see why it would not work, unless something is wrong with the
>>>> virtual machine or with your system.
>>>>
>>>> Indeed, due to some changes in VW 7.6 the parcel installer does
>>>> not work anymore. So, I retired the page completely.
>>>>
>>>> If you want to download Moose, you would have to follow the
>>>> instructions from:
>>>> http://moose.unibe.ch/download
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>> On Oct 31, 2008, at 2:00 PM, stephane ducasse wrote:
>>>>
>>>>>
>>>>>
>>>>> Begin forwarded message:
>>>>>
>>>>>> From: Michael Waelti <m.waelti(a)gmx.ch>
>>>>>> Date: October 31, 2008 1:42:46 PM CEST
>>>>>> To: moose(a)iam.unibe.ch
>>>>>> Subject: [Moose] Installation troubles
>>>>>>
>>>>>> hello,
>>>>>>
>>>>>> I just tried to install moose and it seems as if I'm unable to
>>>>>> do it
>>>>>> properly. As I haven't found anything online, I wanted to ask you
>>>>>> wether
>>>>>> you had the same problems as well:
>>>>>>
>>>>>> If I use the ready-to-use distribution, I can install it under
>>>>>> Ubuntu
>>>>>> 8.04 and Windows XP, but when I try to start it, I just get a
>>>>>> window
>>>>>> without any content and the title "exception"
>>>>>>
>>>>>> If i try to use the parcel version, after some loading and
>>>>>> installing it
>>>>>> aborts with a error-message (something like "there was an
>>>>>> error." not
>>>>>> very helpful)
>>>>>>
>>>>>> Do you have any clues what my problems could be? I just
>>>>>> installed the
>>>>>> latest VM with the link given on the moose-page.
>>>>>>
>>>>>> thank you very much
>>>>>> michael waelti
>>>>>> _______________________________________________
>>>>>> Moose mailing list
>>>>>> Moose(a)iam.unibe.ch
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> Moose-dev(a)iam.unibe.ch
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>> www.tudorgirba.com/blog
>>>>
>>>> "Presenting is storytelling."
>>>>
>>
>> --
>> www.tudorgirba.com
>> www.tudorgirba.com/blog
>>
>> "What is more important: To be happy, or to make happy?"
>>
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Problem solving efficiency grows with the abstractness level of
problem understanding."
Begin forwarded message:
> From: Michael Waelti <m.waelti(a)gmx.ch>
> Date: October 31, 2008 1:42:46 PM CEST
> To: moose(a)iam.unibe.ch
> Subject: [Moose] Installation troubles
>
> hello,
>
> I just tried to install moose and it seems as if I'm unable to do it
> properly. As I haven't found anything online, I wanted to ask you
> wether
> you had the same problems as well:
>
> If I use the ready-to-use distribution, I can install it under Ubuntu
> 8.04 and Windows XP, but when I try to start it, I just get a window
> without any content and the title "exception"
>
> If i try to use the parcel version, after some loading and
> installing it
> aborts with a error-message (something like "there was an error." not
> very helpful)
>
> Do you have any clues what my problems could be? I just installed the
> latest VM with the link given on the moose-page.
>
> thank you very much
> michael waelti
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
Hi all,
for me Mondrian works again at least, now ...
I found a problem with parsing a method leading to "an empty method body"
when I directly loaded from Smalltalk. Now, I reconciled that package from
StORE and reloaded the model and everything's fine -
Mondrian is not to blame, here.
On the contrary: it's fun.
Many thanks for guiding me through
Thomas Schrader
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
I would like to make a llist of the cool algorithms that are in moose
or related artefacts.
I would like to have a list and a simple where it is, what is does and
how to invoke it.
I found
- Dendogram
- SeriationEngine
- TimeWarping
- Stemmer (even if this is not an algotirhm per se)
I could not find the FCA engine of adrian on MooseDev
Stef
Hi,
in the last days I was not able to download anything from the bern
store, because it was too slow.
Is anybody else experiencing this problem, or is something in our
amazing firewall configuration in lugano?
Cheers
Marco