Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Mylyn Intent » Are there plans on supporting ';' inside Strings ?
Are there plans on supporting ';' inside Strings ? [message #895998] Mon, 16 July 2012 19:42 Go to next message
Torsten  is currently offline Torsten Friend
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 07:57 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
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 07:58]

Report message to a moderator

Re: Are there plans on supporting ';' inside Strings ? [message #896181 is a reply to message #896076] Tue, 17 July 2012 14:00 Go to previous messageGo to next message
William Piers is currently offline William PiersFriend
Messages: 301
Registered: July 2009
Senior Member
Hello,

I just fixed the bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=385298
The correction will be integrated in 0.7SR1.
Meanwhile you can use the latest nightly build which integrates the fix:
https://hudson.eclipse.org/hudson/job/mylyn-docs-intent-0.7-nightly/360/artifact/features/org.eclipse.mylyn.docs.intent.update/target/org.eclipse.mylyn.docs.intent.update.zip
(this is an archived update site)

Best Regards,

William
Re: Are there plans on supporting ';' inside Strings ? [message #896232 is a reply to message #896181] Tue, 17 July 2012 16:22 Go to previous message
Torsten  is currently offline Torsten Friend
Messages: 4
Registered: September 2010
Junior Member
It works !

Thanks for the quick fix- I didn't even find the time to give a proper
bugzilla entry :-)

Torsten

Am 17.07.2012 16:00, schrieb William Piers:
> Hello,
>
> I just fixed the bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=385298
> The correction will be integrated in 0.7SR1.
> Meanwhile you can use the latest nightly build which integrates the fix:
> https://hudson.eclipse.org/hudson/job/mylyn-docs-intent-0.7-nightly/360/artifact/features/org.eclipse.mylyn.docs.intent.update/target/org.eclipse.mylyn.docs.intent.update.zip
>
> (this is an archived update site)
>
> Best Regards,
>
> William



--
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
Previous Topic:Cannot install Intent
Next Topic:Trying retro documentation ....
Goto Forum:
  


Current Time: Thu Apr 25 04:18:57 GMT 2024

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

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

Back to the top