This projekts allows to generate RESTful Jersey source code defined by a model. It uses Xtend and Xtend features to generate the source code.
- Clone or download a copy of the Rajawali source code.
- Install Xtext and Xtend Plugins in Eclipse.
- Import the RESTgen project into Eclipse.
- You need all four projects
- The main project is "com.rest.rdsl" which contains the "RestDsl.xtext"
- Right click on the file and select Run as "Generating Xtext Artifacts" to genearte files for the Generators
- Wait!
- Run as Eclipse Appliation.
- Create a Java project in the new Eclipse instance
- Add a file with the extension ".rdsl" and confirm the xtext nature.
- Define the REST model, save the file and wait for the stuff to be generated.