{"id":5511,"date":"2014-03-30T23:30:44","date_gmt":"2014-03-30T23:30:44","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-emf-collection-of-common-programming-errors\/"},"modified":"2014-03-30T23:30:44","modified_gmt":"2014-03-30T23:30:44","slug":"problem-about-emf-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-emf-collection-of-common-programming-errors\/","title":{"rendered":"problem about emf-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a48f5ba1978f776f87fb7660afe43b20?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser320587<br \/>\nwebsphere classpath websphere-8 emf<br \/>\nIs there a way to make the Websphere Application Server use the jar places inside the application&#8217;s WEB-INF\/libs folder and ignore the one that available within the server&#8217;s plugin folder. I am using EMF in my application and the version provided in the server doesn&#8217;t include support for EMF GenericType, so I want to make the application use the jar file inside the libs folder.Thanks for any help<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/df46fd690724227fbadfac43032670d5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSindico<br \/>\neclipse xtext emf<br \/>\nI have redefined the STRING terminal this way terminal STRING : (&#8216;.&#8217;|&#8217;+&#8217;|'(&#8216;|&#8217;)&#8217;|&#8217;a&#8217;..&#8217;z&#8217;|&#8217;A&#8217;..&#8217;Z&#8217;|&#8217;_&#8217;|&#8217;0&#8242;..&#8217;9&#8242;)*;because I have to recognize STRING not delimited by &#8221; or &#8216;the problem is that, though the generated parser works, it truncates the first and the last character of the recognized string. What am I missing?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8bcbf86df5f667dc4fc6bdc6c01c49d8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmorteza khosravi<br \/>\neclipse-rcp emf<br \/>\nI have declared an EMF AbstractModelConstraint that checks some criteria. My problem is when the validation fails, the runtime workbench shows an error dialog. How can I prevent its appearance?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b3a337c3d431a344b40e223e0be50803?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nPangea<br \/>\njava eclipse eclipse-emf-ecore mdd emf<br \/>\nWe have a EMF based meta-model that is used to configure our application. Until now we used the EMF editor (eclipse based) to create various configuration instances of our product. This has worked well so far but we now want to support the config creation from web UI. What are the options I have for creating a rich UI from meta-models on Java platform? I know about Naked Objects, Roo etc but those generate end to end application with focus on persistence. I just need good looking UI that can pop<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e82a2288962ab8e2084ef2adc9b5a4be?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nyeti<br \/>\nxtext emf<br \/>\nI created a DSL via Xtext and now I need to transform the models created in the editor into another model(s). I suppose the most straightforward way is to employ some kind of M2M transformation framework, but i need to access the model behind the textual file. Question: how can I get a reference to the model?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fd2ee04ed34353f9679324c44f50e073?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nseb<br \/>\njava xml xsd emf<br \/>\nI&#8217;d like to implement an generic visual editor for a emf model. Here is the workflow or the idea: For the Metamodel (Elements, Connection) I used EMF which was transformed from an XSD. For instance it contains a ModelElement Class **name **desc **properties (key, value) So there are 3 basic groups of elements A,B,C., which I can drag on the drawing area. To fit my requirements of the visual editor I need specify the name and the properties (key,value) out of the editor. So that the user onl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2b88fc7fbd850cda978c8005b4064225?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRoman R.<br \/>\numl m2m emf<br \/>\nThe same question I have asked at http:\/\/www.eclipse.org\/forums\/index.php\/t\/367608\/I want to apply a stereotype which is defined for UML-Property to a property used in an association. The problem I have is that an IllegalArgumentException is thrown in the case of using the stereotype for an association-associated property. If I apply the stereotype to an property which is used in a class as an attribute everything is fine.Here is a code snippet from the exception throwing part:helper def: getSte<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b3a337c3d431a344b40e223e0be50803?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nPangea<br \/>\njava eclipse eclipse-emf emf emf-compare<br \/>\nVersion of EMF Compare: 2.1.0 M6 (2013\/03\/19 17:50)I am trying to use standalone compare as explained in this guide. I get the below compilation errorThe method setMatchEngine(IMatchEngine) is undefined for the type EMFCompare.Builderfor the below code\/\/ Configure EMF Compare IEObjectMatcher matcher = DefaultMatchEngine.createDefaultEObjectMatcher(UseIdentifiers.NEVER); IComparisonFactory comparisonFactory = new DefaultComparisonFactory(new DefaultEqualityHelperFactory()); IMatchEngine matchEngi<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>user320587 websphere classpath websphere-8 emf Is there a way to make the Websphere Application Server use the jar places inside the application&#8217;s WEB-INF\/libs folder and ignore the one that available within the server&#8217;s plugin folder. I am using EMF in my application and the version provided in the server doesn&#8217;t include support for EMF GenericType, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5511","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5511"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5511\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}