| Are there plans on supporting ';' inside Strings ? [message #895998] |
Mon, 16 July 2012 15:42  |
Torsten Messages: 4 Registered: September 2010 |
Junior Member |
|
|
Hi Guys, I love your tool.
Just came around it and startet programming a tutorial
style-introduction to mdsd. Somehow the editor/parser did not accept a
semicolon inside a String literal which would be very useful to
integrate simple source-code in ecore-models.
Did I miss a point?
@M
warteschlange {
eClassifiers += new EClass NamedElement {
abstract = "true";
eStructuralFeatures += new EAttribute name {
eType = String;
};
eOperations += new EOperation toPresentation {
eType = String;
eAnnotations += new EAnnotation {
source = "http://www.eclipse.org/emf/2002/GenModel";
details += new EStringToStringMapEntry {
key = "body";
value = "return name;";
};
};
};
};
}
M@
The trouble lies in the last line: value="... ;" which raises
"Unrecognized structural feature" annotation
Thanks,
Torsten.K
--
Dipl.-Ing. Torsten Krämer
Fachgebiet Bauinformatik
Technische Universität Berlin
Sekr. TIB1-B8
Gustav-Meyer-Allee 25, 13355 Berlin
Büro : Gebäude 13b - Zimmer 504
Tel. : +49 (0) 30 314 72303
Fax : +49 (0) 30 314 72301
Email: Torsten.Kraemer@xxxxxxxx
WWW : http://www.bauinformatik.tu-berlin.de
|
|
|
| Re: Are there plans on supporting ';' inside Strings ? [message #896076 is a reply to message #895998] |
Tue, 17 July 2012 03:57   |
Alex Lagarde Messages: 132 Registered: May 2010 |
Senior Member |

|
|
Hi Torsten,
first of all, thanks a lot for your positive feedback!
We will check this bug ASAP (this week hopefully), could you raise a bugzilla issue with your use case in attachement ? Here is the link to post the issue (in the "Mylyn > Mylyn Docs Intent" category and the "Intent Core" component) https://bugs.eclipse.org/bugs/enter_bug.cgi .
Did you know that in addition of models, Intent can also synchronize any technical artifact (Java Code, C++ code, samples on the internet...) as long as you have plugged the corresponding synchronization bridge? More details here http://www.eclipse.org/intent/pages/transcripts/2012_AgileALMConnect/img17.html
William and I are working very hard to make the next Intent release (0.7 SR1) as stable as possible, with new facilities for automatically fixing synchronization issues.
If you want to have a preview of this release, you can download the latest Intent version on hudson (https://hudson.eclipse.org/hudson/job/mylyn-docs-intent-0.7-nightly/ under features/org.eclipse.mylyn.docs.intent.update/target) and install the zip (direct link : https://hudson.eclipse.org/hudson/job/mylyn-docs-intent-0.7-nightly/lastSuccessfulBuild/artifact/features/org.eclipse.mylyn.docs.intent.update/target/org.eclipse.mylyn.docs.intent.update.zip) in your running Eclipse.
Best Regards,
Alex
[Updated on: Tue, 17 July 2012 03:58] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01613 seconds