Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Xpand] writing binary files
[Xpand] writing binary files [message #521609] Thu, 18 March 2010 09:59 Go to next message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

is there a simple way to create binary files using Xpand. The use case
is that a model contains hex or otherwise encoded information which is
to be transformed into a byte array and stored into a file.

I assume the answer is no and I will have to write my own workflow
component doing that. But I thought, I'd still ask...

Alex


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Re: [Xpand] writing binary files [message #521664 is a reply to message #521609] Thu, 18 March 2010 12:47 Go to previous messageGo to next message
Darius Jockel is currently offline Darius JockelFriend
Messages: 63
Registered: July 2009
Member
Alexander Nittka wrote on Thu, 18 March 2010 05:59

I assume the answer is no and I will have to write my own workflow
component doing that.


The answer is no and you will have to write my own workflow
component doing that.
The way of Xpand of generating code is to write text into a file.
If you want to create a binary file, you have to implement this.

Regards
Re: [Xpand] writing binary files [message #521953 is a reply to message #521664] Fri, 19 March 2010 07:42 Go to previous message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi Darius,

> The answer is no

thanks for confirming.

Alex


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Previous Topic:[XTend] Importing *.ext files from Base Workspace fails when working in Runtime Workspace *solved*
Next Topic:[Xpand] Encoding problem while debugging
Goto Forum:
  


Current Time: Thu Apr 25 11:47:49 GMT 2024

Powered by FUDForum. Page generated in 0.02978 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top