Hi everyone,
As some of you know, I am working on a FAMIX importer for Eclipse java source files, written in Smalltalk (using our JavaConnect system). At this moment, the importer creates a FAMIX model with classes, methods, namespaces and inheritance relations.
Now, I experience some strange behaviour of the Mondrian 'Screen filling system complexity' visualisation. If you take a look at the screenshot below, you can see the 'Event' class hierarchy. Well, that is: a list of 'Event' classes and a hierarchy. The strange thing is that the nodes in the flat line represent exactly the same entities as the nodes in the hierarchy.
Maybe it's supposed to be this way? But this only appeared after I added 'implements' relations to the model using FamixInheritanceLinks. I verified if the model does not contain duplicate entities for those classes (which would be an obvious explanation). Inspecting the entities in the flat line did also reveal they do have outgoingInheritance links.
So, I'm confused and hope you can shed some light on this :-)
ps: Tudor, I hope you got the importer to work now in Mac Intel?
ps2: For those interested in trying this: http://www.info.ucl.ac.be/ ~jbrichau/penumbra.html . We're having trouble making JavaConnect run on Windows, so any help to make it work is appreciated. The problem is mainly in finding the correct java libraries to load. Idem for Linux. Or if you can wait long enough, we will be working on an integration with JNIPort too ;-)
---------------------------- Johan Brichau johan.brichau@uclouvain.be
On 23 oct. 07, at 15:45, Johan Brichau wrote:
Hi everyone,
As some of you know, I am working on a FAMIX importer for Eclipse java source files, written in Smalltalk (using our JavaConnect system). At this moment, the importer creates a FAMIX model with classes, methods, namespaces and inheritance relations.
cool
Now, I experience some strange behaviour of the Mondrian 'Screen filling system complexity' visualisation. If you take a look at the screenshot below, you can see the 'Event' class hierarchy. Well, that is: a list of 'Event' classes and a hierarchy. The strange thing is that the nodes in the flat line represent exactly the same entities as the nodes in the hierarchy.
Maybe it's supposed to be this way? But this only appeared after I added 'implements' relations to the model using FamixInheritanceLinks. I verified if the model does not contain duplicate entities for those classes (which would be an obvious explanation). Inspecting the entities in the flat line did also reveal they do have outgoingInheritance links.
So, I'm confused and hope you can shed some light on this :-)
ps: Tudor, I hope you got the importer to work now in Mac Intel?
ps2: For those interested in trying this: http://www.info.ucl.ac.be/ ~jbrichau/penumbra.html . We're having trouble making JavaConnect run on Windows, so any help to make it work is appreciated. The problem is mainly in finding the correct java libraries to load. Idem for Linux. Or if you can wait long enough, we will be working on an integration with JNIPort too ;-)
I really want to allocate times on that. right now I writing a portfolio on my knowledge.
Stef
Johan Brichau johan.brichau@uclouvain.be
<pastedGraphic.pdf>
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi Johan,
I still could not manage to load it with Eclipse, but I will give it another try this evening.
Concerning your question, I think the problem is in the logic of the visualization. But just to make sure, could you just export the model in MSE and send it to me to take a look if anything is actually wrong?
From another perspective, Sandro de Zanet is currently working on an exporter from Eclipse to MSE files. He is using the Java implementation of Adrian Kuhn of FAMIX and MSE.
I do not know how far you are with implementing the full FAMIX export, but perhaps it would be better to team up and reuse his work for the export part. The idea would be to just write the exporter in Java and then translate the objects 1-1 to Smalltalk.
What do you say?
Cheers, Doru
On Oct 23, 2007, at 3:45 PM, Johan Brichau wrote:
Hi everyone,
As some of you know, I am working on a FAMIX importer for Eclipse java source files, written in Smalltalk (using our JavaConnect system). At this moment, the importer creates a FAMIX model with classes, methods, namespaces and inheritance relations.
Now, I experience some strange behaviour of the Mondrian 'Screen filling system complexity' visualisation. If you take a look at the screenshot below, you can see the 'Event' class hierarchy. Well, that is: a list of 'Event' classes and a hierarchy. The strange thing is that the nodes in the flat line represent exactly the same entities as the nodes in the hierarchy.
Maybe it's supposed to be this way? But this only appeared after I added 'implements' relations to the model using FamixInheritanceLinks. I verified if the model does not contain duplicate entities for those classes (which would be an obvious explanation). Inspecting the entities in the flat line did also reveal they do have outgoingInheritance links.
So, I'm confused and hope you can shed some light on this :-)
ps: Tudor, I hope you got the importer to work now in Mac Intel?
ps2: For those interested in trying this: http://www.info.ucl.ac.be/ ~jbrichau/penumbra.html . We're having trouble making JavaConnect run on Windows, so any help to make it work is appreciated. The problem is mainly in finding the correct java libraries to load. Idem for Linux. Or if you can wait long enough, we will be working on an integration with JNIPort too ;-)
Johan Brichau johan.brichau@uclouvain.be
<pastedGraphic.pdf>
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.iam.unibe.ch/~girba www.iam.unibe.ch/~girba/blog/
"Some battles are better lost than fought."
On 23 Oct 2007, at 17:25, Tudor Girba wrote:
I still could not manage to load it with Eclipse, but I will give it another try this evening.
Allright. I had it loaded by some colleagues today and it worked out- of-the-box. At least on Mac-Intel and Mac PPC. On Linux, it might work (we have it working) but for Windows I am unable to make it work myself.
Concerning your question, I think the problem is in the logic of the visualization. But just to make sure, could you just export the model in MSE and send it to me to take a look if anything is actually wrong?
Thanks. I'm sending it to you in a separate email.
I do not know how far you are with implementing the full FAMIX export, but perhaps it would be better to team up and reuse his work for the export part. The idea would be to just write the exporter in Java and then translate the objects 1-1 to Smalltalk.
Yes, that would indeed enable to reuse that work. The only requirement I have is that the Eclipse AST nodes are attached to the FAMIX classes. Although I guess the only essential part of the importer that is missing are the invocations and the accesses, for which I can easily fall back to functionality already implemented in our SOUL library that reasons over the Java code.
But I would be happy to include Sandro's importer too. If he has a jar file containing the class files and an API, I can immediately give it a try.
best, ---------------------------- Johan Brichau johan.brichau@uclouvain.be
Hello Johan,
Allright. I had it loaded by some colleagues today and it worked out- of-the-box. At least on Mac-Intel and Mac PPC. On Linux, it might work (we have it working) but for Windows I am unable to make it work myself.
Maybe I can help, my ICQ is 36247207 if you want to have a look together
But I would be happy to include Sandro's importer too. If he has a jar file containing the class files and an API, I can immediately give it a try.
Pointers to the sources of all currently known Java-FAMIX/Moose projects can be found here
http://smallwiki.unibe.ch/moose/tools/javatools/
if you want your approach to be listed there as well, please forward me the description and links to be put on that page.
cheers, AA