XPand template not working after upgrading to Helios [message #542280] |
Thu, 24 June 2010 08:29  |
Eclipse User |
|
|
|
Hi,
I have GMF editors which I generate using dynamic templates. One of my
templates (the one for the manifest file) has code like this:
«AROUND manifest FOR gmfgen::GenPlugin-»
(...)
«IF name = "ABC"-»
de.upb.somePlugin,
«ENDIF-»
However, the generated manifest does not have an import of plugin
de.upb.simePlugin.
This used to work before I upgraded to Helios, but now it doesn't any
more for some reason. I'm using GMFTools to generate my editors, and in
the involved transformation of the gmfgen model, I make sure that the
name attribute has an appropriate value (I doublechecked the generated
..gmfgen model, and its name attribute indeed contains value "ABC").
Any idea what might be going on here?
Thanks in advance,
Chris
|
|
|
|
|
Re: XPand template not working after upgrading to Helios [message #629455 is a reply to message #542280] |
Tue, 28 September 2010 07:06  |
Eclipse User |
|
|
|
Hi Chris,
did you solve your problem changing " by ' ?
I have the same problem, I get an error trying to generate the code with dynamic templates after upgrading to Helios version, but I don't use double quote in these templates.
This is the error I got:
Exception (org.eclipse.gmf.internal.xpand.util.ParserException, @aspects::impl::diagram::editparts::NodeEditPart
[unspecified location] (5) ; ">") while generating code
Any clue? Maybe a ">" symbol not recognized? this template was correct with the previous version.
Thanks!!
Laura.
|
|
|
Powered by
FUDForum. Page generated in 0.02643 seconds