It would be great to have a test on this issue.
Cheers,
Alexandre
On 11 Jul 2009, at 11:29, Simon Denier wrote:
On 11 juil. 09, at 09:54, Laval Jannik wrote:
Hi all,
I would like to export a MooseModel in MSE.
I use method "MooseModel>>exportMSEToFile".
But there is an error.
So, I have replaced the line
stream := filename asFilename writeStream.
by:
stream := (FileStream newFileNamed: filename).
Now, I have a doesnotunderstand exception on Text>>fm3PrintOn:
I tested it and I got the error with some FAMIXComment entity, when
exporting its content (i.e. the comment string itself).
Instead of having a String instance, we have a Text instance, which
is unknown in the FM3 environment.
So it seems like a bug in the SmalltalkImporter dealing with method
comments, especially with #extractCommentsFromNode:
which forgets to convert a Text into a String when creating a
FAMIXComment entity.
Someone has to confirm this.
Can anyone help me ?
Cheers
---
Jannik Laval
PhD Student - Rmod Team - INRIA
Certified Project Management Associate (IPMA)
http://www.jannik-laval.eu
http://rmod.lille.inria.fr
---
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Simon
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.