problem about emf-Collection of common programming errors


  • user320587
    websphere classpath websphere-8 emf
    Is there a way to make the Websphere Application Server use the jar places inside the application’s WEB-INF/libs folder and ignore the one that available within the server’s plugin folder. I am using EMF in my application and the version provided in the server doesn’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

  • Sindico
    eclipse xtext emf
    I have redefined the STRING terminal this way terminal STRING : (‘.’|’+’|'(‘|’)’|’a’..’z’|’A’..’Z’|’_’|’0′..’9′)*;because I have to recognize STRING not delimited by ” or ‘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?

  • morteza khosravi
    eclipse-rcp emf
    I 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?

  • Pangea
    java eclipse eclipse-emf-ecore mdd emf
    We 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

  • yeti
    xtext emf
    I 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?

  • seb
    java xml xsd emf
    I’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

  • Roman R.
    uml m2m emf
    The 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

  • Pangea
    java eclipse eclipse-emf emf emf-compare
    Version 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

Web site is in building