Dump FAMIX meta-model to text file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dump FAMIX meta-model to text file

Damien Cassou-2
Hi,

to ease search in the FAMIX meta-model for a non Pharo developer, I
would like to export it to a text file. Is that already possible?

Thanks


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Dump FAMIX meta-model to text file

Tudor Girba-2
Hi,

You can use:

printer := FMMSEPrinter new onString.
MooseModel meta accept: printer.
printer stream contents

or:

printer := FMXMLPrinter new onString.
MooseModel meta accept: printer.
printer stream contents

Cheers,
Doru


On Tue, Apr 14, 2015 at 3:16 PM, Damien Cassou <[hidden email]> wrote:
Hi,

to ease search in the FAMIX meta-model for a non Pharo developer, I
would like to export it to a text file. Is that already possible?

Thanks


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Dump FAMIX meta-model to text file

Nicolas Anquetil


I was going to suggest:

str :=  String new writeStream.
MooseModel exportMetamodelTo: str .


which give the same result as 1st one

:-)

nicolas

On 14/04/2015 15:38, Tudor Girba wrote:
Hi,

You can use:

printer := FMMSEPrinter new onString.
MooseModel meta accept: printer.
printer stream contents

or:

printer := FMXMLPrinter new onString.
MooseModel meta accept: printer.
printer stream contents

Cheers,
Doru


On Tue, Apr 14, 2015 at 3:16 PM, Damien Cassou <[hidden email]> wrote:
Hi,

to ease search in the FAMIX meta-model for a non Pharo developer, I
would like to export it to a text file. Is that already possible?

Thanks


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev