Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Xpand] Encoding problem while debugging
[Xpand] Encoding problem while debugging [message #522099] Fri, 19 March 2010 19:52 Go to next message
Eclipse UserFriend
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 04:37 Go to previous messageGo to next message
Eclipse UserFriend
why don't you configure the encoding in the generator?

<component class="org.eclipse.xpand2.Generator">
     ...
     <fileEncoding value="UTF-8"/>
     ...
</component/>
Re: [Xpand] Encoding problem while debugging [message #522157 is a reply to message #522099] Sat, 20 March 2010 12:32 Go to previous message
Eclipse UserFriend
It works. Thank you!
Previous Topic:[Xpand] writing binary files
Next Topic:Assert Statement in Jet?
Goto Forum:
  


Current Time: Thu Jul 10 22:03:01 EDT 2025

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

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

Back to the top