Git Product home page Git Product logo

Comments (3)

hamzaed avatar hamzaed commented on July 24, 2024

Hi Steffen,
Thanks for you interest in EMF-REST. Do you get the NullPointerException while using your model or the example model?
You're right about the genmodel file. We create a custom genmodel file because we're not using the default JET templates to generate the domain classes. We extend the default JET templates to add all the required features for REST(i.e. JAXB annotations) and Validation (i.e., OCL interpreter). So we have to create a genmodel model and declare the location of our JET templates. Please take a look at the file https://github.com/emf-rest/emf-rest/blob/master/emf-rest-src/emf-rest/src/com/emf/rest/EMFGenerator.java. You can customize this class to add your genmodel properties.

Regards,
Hamza

from emf-rest.

doggy-dev avatar doggy-dev commented on July 24, 2024

I have the same problem. It seems this plugin expects that src/main/webapp existst. Unfortunately I think this is not documented.

from emf-rest.

hamzaed avatar hamzaed commented on July 24, 2024

The generator does create the src/main/webapp folder.
I close this issue due to insufficient resources to identify the problem.

from emf-rest.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.