[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Exception when generating diagram code from .gmfgen

Alex Shatalin a Ãcrit :
Hello Olivier,

unfortunatly, I got the same exception error with this modification in
my xpt file :(
Can you copy a trace here?
Is it something related to template resource encoding? It should be ISO-8859-1.


-----------------
Alex Shatalin


Did you mean a trace of my xpt file?

Here an excerpt of the DocumentProvider.xpt


ÂDEFINE throwIncorrectInputException FOR gmfgen::GenDiagram-Â
throw new org.eclipse.core.runtime.CoreException(new org.eclipse.core.runtime.Status(org.eclipse.core.runtime.IStatus.ERROR, ÂeditorGen.plugin.getActivatorQualifiedClassName()Â.ID, 0,
org.eclipse.osgi.util.NLS.bind(
ÂEXPAND xpt::Externalizer::accessorCall(i18nKeyForDocumentProviderIncorrectInputError()) FOR editorGenÂ,
new Object[] {element, ÂIF null == editorGen.applicationÂ"ÂEXPAND fileEditorInputClassFQNameÂ", ÂENDIFÂ"ÂEXPAND uriEditorInputClassFQNameÂ"}), ÂEXPAND xpt::Common::nonNLS(1)ÂÂIF null == editorGen.application ÂEXPAND xpt::Common::nonNLS(2)ÂÂENDIFÂ
null));
ÂENDDEFINEÂ



ÂDEFINE fileEditorInputClassFQName FOR gmfgen::GenDiagramÂorg.eclipse.ui.part.FileEditorInputÂENDDEFINEÂ


ÂDEFINE uriEditorInputClassFQName FOR gmfgen::GenDiagramÂorg.eclipse.emf.common.ui.URIEditorInputÂENDDEFINEÂ



How is this problem related with encoding issue? The ISO-8829-1 encoding is for the xpt files ?

Thanks again for helping