Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Xpand] Encoding problem while debugging
[Xpand] Encoding problem while debugging [message #522099] Fri, 19 March 2010 23:52 Go to next message
Michael Schmidt is currently offline Michael SchmidtFriend
Messages: 8
Registered: July 2009
Junior Member
Hello,

I created a xpand project under WinXP, Eclipse Galileo.

When I started the workflow following error appeared while the generator tried to read the first xpand template file:

no viable alternative at input 'Â' on line 1


The solution for this was to change the default encoding of the workspace to UTF-8. Now everything works fine while running the workflow.

But when I try to debug the workflow, following message appeares:

no viable alternative at input '�' on line 1


Any ideas how to solve this?
Re: [Xpand] Encoding problem while debugging [message #522117 is a reply to message #522099] Sat, 20 March 2010 08:37 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14664
Registered: July 2009
Senior Member
why don't you configure the encoding in the generator?

<component class="org.eclipse.xpand2.Generator">
     ...
     <fileEncoding value="UTF-8"/>
     ...
</component/>


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: [Xpand] Encoding problem while debugging [message #522157 is a reply to message #522099] Sat, 20 March 2010 16:32 Go to previous message
Michael Schmidt is currently offline Michael SchmidtFriend
Messages: 8
Registered: July 2009
Junior Member
It works. Thank you!
Previous Topic:[Xpand] writing binary files
Next Topic:Assert Statement in Jet?
Goto Forum:
  


Current Time: Tue Apr 16 06:17:26 GMT 2024

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

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

Back to the top